|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jane.lang.reflection.ElementBase | +--net.sourceforge.jane.lang.reflection.ReflectionClassInfo
A ClassInfo
that is based on java.lang.ClassInfo
.
Constructor Summary | |
ReflectionClassInfo(java.lang.Class aClass)
Create a new ReflectionClassInfo . |
Method Summary | |
Fields |
getFields()
Returns the fields. |
Classes |
getInterfaces()
Returns the interfaces this class implements. |
Methods |
getMethods()
Returns the methods. |
protected int |
getModifiers()
Returns the modifiers of this class. |
java.lang.String |
getName()
Returns the name of the class. |
java.lang.String |
getPackageName()
Returns the package name. |
ClassInfo |
getSuperClass()
Returns the super class. |
boolean |
isAbstract()
Returns true if this element is abstract. |
boolean |
isFinal()
Returns true if this element 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 element is static. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.jane.lang.ClassInfo |
isAbstract, isFinal, isStatic |
Methods inherited from interface net.sourceforge.jane.lang.JavaElement |
isPackageProtected, isPrivate, isProtected, isPublic |
Constructor Detail |
public ReflectionClassInfo(java.lang.Class aClass)
ReflectionClassInfo
.aClass
- The class object to retrieve class information from.Method Detail |
public java.lang.String getName()
getName
in interface JavaElement
public boolean isInterface()
true
if this class is an interface.isInterface
in interface ClassInfo
public ClassInfo getSuperClass()
getSuperClass
in interface ClassInfo
public Classes getInterfaces()
getInterfaces
in interface ClassInfo
public java.lang.String getPackageName()
getPackageName
in interface ClassInfo
public Methods getMethods()
getMethods
in interface ClassInfo
public Fields getFields()
getFields
in interface ClassInfo
protected int getModifiers()
getModifiers
in class net.sourceforge.jane.lang.reflection.ElementBase
public boolean isPublic()
true
if this element is public.isPublic
in interface JavaElement
public boolean isProtected()
true
if this element is protected.isProtected
in interface JavaElement
public boolean isPackageProtected()
true
if this element is package protected.isPackageProtected
in interface JavaElement
public boolean isPrivate()
true
if this element is private.isPrivate
in interface JavaElement
public boolean isFinal()
true
if this element is final.public boolean isAbstract()
true
if this element is abstract.public boolean isStatic()
true
if this element is static.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |