|
||||||||||
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.MemberElementBase | +--net.sourceforge.jane.lang.reflection.ReflectionFieldInfo
A FieldInfo
that uses java.lang.reflect.Field
.
Constructor Summary | |
ReflectionFieldInfo(java.lang.reflect.Field aField)
Create a new ReflectionFieldInfo . |
Method Summary | |
protected java.lang.reflect.Member |
getMember()
Returns the member. |
protected int |
getModifiers()
Returns the modifiers. |
java.lang.String |
getName()
Returns the name of the element. |
ClassInfo |
getType()
Returns the type field. |
boolean |
isAbstract()
Returns true if this element is abstract. |
boolean |
isFinal()
Returns true if this element is final. |
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.FieldInfo |
isFinal, isStatic |
Methods inherited from interface net.sourceforge.jane.lang.JavaElement |
getName, isPackageProtected, isPrivate, isProtected, isPublic |
Constructor Detail |
public ReflectionFieldInfo(java.lang.reflect.Field aField)
ReflectionFieldInfo
.Method Detail |
public ClassInfo getType()
getType
in interface FieldInfo
protected java.lang.reflect.Member getMember()
getMember
in class net.sourceforge.jane.lang.reflection.MemberElementBase
public java.lang.String getName()
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 |