|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jane.lang.AbstractClassInfo | +--net.sourceforge.jane.lang.jjtree.JJTreeClassInfo
A ClassInfo
that gets its information from a JavaClassDeclaration
.
Fields inherited from class net.sourceforge.jane.lang.AbstractClassInfo |
jane |
Constructor Summary | |
JJTreeClassInfo(Jane aJane,
JavaCompilationUnit aCompilationUnit,
JavaClassDeclaration aClassDeclaration)
Create a new JJTreeClassInfo . |
Method Summary | |
JavaClassDeclaration |
getClassDeclaration()
Returns the class declaration. |
Fields |
getFields()
Returns the fields. |
Classes |
getInterfaces()
Returns the interfaces this class implements. |
Methods |
getMethods()
Returns the methods. |
java.lang.String |
getName()
Returns the name of the element. |
java.lang.String |
getPackageName()
Returns the package name. |
ClassInfo |
getSuperClass()
Returns the super class. |
boolean |
isAbstract()
Returns true if this class is abstract. |
boolean |
isFinal()
Returns true if this class is final. |
boolean |
isInterface()
Returns true if this class is an interface. |
boolean |
isPackageProtected()
Returns true if this element is package protected. |
boolean |
isPrivate()
Returns true if this element is private. |
boolean |
isProtected()
Returns true if this element is protected. |
boolean |
isPublic()
Returns true if this element is public. |
boolean |
isStatic()
Returns true if this class is static. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JJTreeClassInfo(Jane aJane, JavaCompilationUnit aCompilationUnit, JavaClassDeclaration aClassDeclaration)
JJTreeClassInfo
.Method Detail |
public java.lang.String getName()
public boolean isPublic()
true
if this element is public.public boolean isProtected()
true
if this element is protected.public boolean isPackageProtected()
true
if this element is package protected.public boolean isPrivate()
true
if this element is private.public boolean isInterface()
true
if this class is an interface.public ClassInfo getSuperClass()
public Classes getInterfaces()
public java.lang.String getPackageName()
public Methods getMethods()
public Fields getFields()
public boolean isAbstract()
true
if this class is abstract.public boolean isFinal()
true
if this class is final.public boolean isStatic()
true
if this class is static.public JavaClassDeclaration getClassDeclaration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |