JavaConstructor
, JavaExecutable
, JavaField
, JavaMethod
DefaultJavaConstructor
, DefaultJavaExecutable
, DefaultJavaField
, DefaultJavaMethod
, JavaMethodDelegate
public interface JavaMember
Member
including related methods of Modifier
Modifier and Type | Method | 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 false
boolean isFinal()
Modifier.isFinal(int)
true
is this member is final
, otherwise false
boolean isNative()
Modifier.isNative(int)
true
if this member is native
, otherwise false
boolean isPrivate()
Modifier.isPrivate(int)
true
if this member is private
, otherwise false
boolean isProtected()
Modifier.isProtected(int)
true
if this member is protected
; otherwise false
boolean isPublic()
Modifier.isPublic(int)
true
if this member is public
, otherwise false
boolean isStatic()
Modifier.isStatic(int)
true
if this member is static
, otherwise false
boolean isStrictfp()
Modifier.isStrict(int)
true
if this member is strictfp
, otherwise false
boolean isSynchronized()
Modifier.isSynchronized(int)
true
if this member is synchronized
, otherwise false
boolean isTransient()
Modifier.isTransient(int)
true
if this member is transient
, otherwise false
boolean isVolatile()
Modifier.isVolatile(int)
true
if this member is volatile
, otherwise false
Copyright © 2002–2018. All rights reserved.