public abstract class JavaXMember extends JavaXAnnotatedElement implements XMember
| 限定符 | 构造器和说明 |
|---|---|
protected |
JavaXMember(Member member,
Type type,
TypeEnvironment env,
JavaReflectionManager factory,
JavaXType xType) |
| 限定符和类型 | 方法和说明 |
|---|---|
XClass |
getClassOrElementClass()
The type of this property's elements for arrays, the type of the property itself for everything else.
|
Class<? extends Collection> |
getCollectionClass()
The collection class for collections, null for others.
|
XClass |
getDeclaringClass()
Retrieve the XClass reference for the class which declares this member.
|
XClass |
getElementClass()
This property's type for simple properties, the type of its elements for arrays and collections.
|
Type |
getJavaType() |
XClass |
getMapKey()
The type of this map's key, or null for anything that is not a map.
|
protected Member |
getMember() |
int |
getModifiers()
Same modifiers as java.lang.Member#getModifiers()
|
abstract String |
getName() |
XClass |
getType()
This property's XClass.
|
protected TypeEnvironment |
getTypeEnvironment() |
boolean |
isArray() |
boolean |
isCollection() |
boolean |
isTypeResolved() |
void |
setAccessible(boolean accessible) |
protected static Type |
typeOf(Member member,
TypeEnvironment env) |
equals, getAnnotation, getAnnotations, getFactory, hashCode, isAnnotationPresent, toAnnotatedElement, toStringequals, getAnnotation, getAnnotations, isAnnotationPresentprotected JavaXMember(Member member, Type type, TypeEnvironment env, JavaReflectionManager factory, JavaXType xType)
protected static Type typeOf(Member member, TypeEnvironment env)
public Type getJavaType()
protected TypeEnvironment getTypeEnvironment()
protected Member getMember()
public XClass getDeclaringClass()
XMembergetDeclaringClass 在接口中 XMemberpublic Class<? extends Collection> getCollectionClass()
XMembergetCollectionClass 在接口中 XMemberpublic XClass getClassOrElementClass()
XMembergetClassOrElementClass 在接口中 XMemberpublic XClass getElementClass()
XMembergetElementClass 在接口中 XMemberpublic XClass getMapKey()
XMemberpublic boolean isCollection()
isCollection 在接口中 XMemberpublic int getModifiers()
XMembergetModifiers 在接口中 XMemberpublic final boolean isTypeResolved()
isTypeResolved 在接口中 XMemberpublic void setAccessible(boolean accessible)
setAccessible 在接口中 XMemberCopyright © 2020. All rights reserved.