public interface JavaMember extends JavaElement
Modifier and Type | Method and Description |
---|---|
JavaType |
getComponentType()
Returns the JavaType representation of the component type of the type
of the member, if the field type is an array or collection.
|
JavaType |
getDeclaringClass()
Returns the JavaType instance representing the class or interface
that declares the member represented by this JavaMember instance.
|
int |
getModifiers()
Returns the Java language modifiers for the field represented by
this JavaMember, as an integer.
|
java.lang.String |
getName()
Returns the name of the member.
|
JavaType |
getType()
Returns the JavaType representation of the type of the member.
|
getUnderlyingObject
java.lang.String getName()
JavaType getDeclaringClass()
int getModifiers()
Modifier
JavaType getType()
JavaType getComponentType()
null
, if the member type is not an array
or collection.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.