public interface JavaMember
Member including related methods of Modifier| Modifier and Type | Method and Description |
|---|---|
JavaClass |
getDeclaringClass()
Equivalent of
Member.getDeclaringClass() |
java.util.List<java.lang.String> |
getModifiers()
Equivalent of
Member.getModifiers()
This does not follow the java-api
With the Member-class, getModifiers returns an int, which should be decoded with the Modifier. |
java.lang.String |
getName()
Equivalent of
Member.getName() |
boolean |
isAbstract()
Equivalent of
Modifier.isAbstract(int) |
boolean |
isFinal()
Equivalent of
Modifier.isFinal(int) |
boolean |
isNative()
Equivalent of
Modifier.isNative(int) |
boolean |
isPrivate()
Equivalent of
Modifier.isPrivate(int) |
boolean |
isProtected()
Equivalent of
Modifier.isProtected(int) |
boolean |
isPublic()
Equivalent of
Modifier.isPublic(int) |
boolean |
isStatic()
Equivalent of
Modifier.isStatic(int) |
boolean |
isStrictfp()
Equivalent of
Modifier.isStrict(int) |
boolean |
isSynchronized()
Equivalent of
Modifier.isSynchronized(int) |
boolean |
isTransient()
Equivalent of
Modifier.isTransient(int) |
boolean |
isVolatile()
Equivalent of
Modifier.isVolatile(int) |
java.util.List<java.lang.String> getModifiers()
Member.getModifiers()
This does not follow the java-api
With the Member-class, getModifiers returns an int, which should be decoded with the Modifier.
If this member was extracted from a source, it will keep its order.
Otherwise if will be in the preferred order of the java-api.JavaClass getDeclaringClass()
Member.getDeclaringClass()java.lang.String getName()
Member.getName()boolean isAbstract()
Modifier.isAbstract(int)true if this member is abstract, otherwise falseboolean isFinal()
Modifier.isFinal(int)true is this member is final, otherwise falseboolean isNative()
Modifier.isNative(int)true if this member is native, otherwise falseboolean isPrivate()
Modifier.isPrivate(int)true if this member is private, otherwise falseboolean isProtected()
Modifier.isProtected(int)true if this member is protected; otherwise falseboolean isPublic()
Modifier.isPublic(int)true if this member is public, otherwise falseboolean isStatic()
Modifier.isStatic(int)true if this member is static, otherwise falseboolean isStrictfp()
Modifier.isStrict(int)true if this member is strictfp, otherwise falseboolean isSynchronized()
Modifier.isSynchronized(int)true if this member is synchronized, otherwise falseboolean isTransient()
Modifier.isTransient(int)true if this member is transient, otherwise falseboolean isVolatile()
Modifier.isVolatile(int)true if this member is volatile, otherwise falseCopyright © 2002-2018. All Rights Reserved.