|
||||||||||
| 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 JavaElementpublic boolean isInterface()
true if this class is an interface.isInterface in interface ClassInfopublic ClassInfo getSuperClass()
getSuperClass in interface ClassInfopublic Classes getInterfaces()
getInterfaces in interface ClassInfopublic java.lang.String getPackageName()
getPackageName in interface ClassInfopublic Methods getMethods()
getMethods in interface ClassInfopublic Fields getFields()
getFields in interface ClassInfoprotected int getModifiers()
getModifiers in class net.sourceforge.jane.lang.reflection.ElementBasepublic boolean isPublic()
true if this element is public.isPublic in interface JavaElementpublic boolean isProtected()
true if this element is protected.isProtected in interface JavaElementpublic boolean isPackageProtected()
true if this element is package protected.isPackageProtected in interface JavaElementpublic boolean isPrivate()
true if this element is private.isPrivate in interface JavaElementpublic 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 | |||||||||