01: /*
02: * Sun Public License Notice
03: *
04: * The contents of this file are subject to the Sun Public License
05: * Version 1.0 (the "License"). You may not use this file except in
06: * compliance with the License. A copy of the License is available at
07: * http://www.sun.com/
08: *
09: * The Original Code is NetBeans. The Initial Developer of the Original
10: * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
11: * Microsystems, Inc. All Rights Reserved.
12: */
13:
14: package org.netbeans.editor.ext.java;
15:
16: /**
17: * Java completion type
18: *
19: * @author Miloslav Metelka
20: * @version 1.00
21: */
22:
23: public interface JCType extends Comparable {
24:
25: /** Class */
26: public JCClass getClazz();
27:
28: /** Array depth */
29: public int getArrayDepth();
30:
31: /**
32: * Get the string containing either the name or full name plus possible
33: * square bracket pairs
34: *
35: * @param useFullName
36: * Use full name (including the package) instead of the name
37: * without the package
38: */
39: public String format(boolean useFullName);
40:
41: }
|