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 class
18: *
19: * @author Miloslav Metelka
20: * @version 1.00
21: */
22:
23: public interface JCClass extends Comparable {
24:
25: /** Get name of the class without package specification */
26: public String getName();
27:
28: /** Get package where the class is placed */
29: public String getPackageName();
30:
31: /** Get full name consisting of class name and package name */
32: public String getFullName();
33:
34: /** Get offset in source files */
35: public int getTagOffset();
36:
37: /** Is this class an interface? */
38: public boolean isInterface();
39:
40: /** Get modifiers for this class */
41: public int getModifiers();
42:
43: /** Get superclass of this class */
44: public JCClass getSuperclass();
45:
46: /**
47: * Get interfaces this class implements or the interfaces this interface
48: * extends.
49: */
50: public JCClass[] getInterfaces();
51:
52: /** Get fields that this class contains */
53: public JCField[] getFields();
54:
55: /** Get constructors that this class contains */
56: public JCConstructor[] getConstructors();
57:
58: /** Get methods that this class contains */
59: public JCMethod[] getMethods();
60:
61: }
|