Interface JavaMember
- All Known Subinterfaces:
JavaConstructor, JavaExecutable, JavaField, JavaMethod
- All Known Implementing Classes:
DefaultJavaConstructor, DefaultJavaExecutable, DefaultJavaField, DefaultJavaMethod, JavaMethodDelegate
-
Method Summary
Modifier and TypeMethodDescriptionEquivalent ofMember.getDeclaringClass()Equivalent ofMember.getModifiers()This does not follow the java-api With the Member-class, getModifiers returns anint, which should be decoded with the Modifier.getName()Equivalent ofMember.getName()booleanEquivalent ofModifier.isAbstract(int)booleanisFinal()Equivalent ofModifier.isFinal(int)booleanisNative()Equivalent ofModifier.isNative(int)booleanEquivalent ofModifier.isPrivate(int)booleanEquivalent ofModifier.isProtected(int)booleanisPublic()Equivalent ofModifier.isPublic(int)booleanisStatic()Equivalent ofModifier.isStatic(int)booleanEquivalent ofModifier.isStrict(int)booleanEquivalent ofModifier.isSynchronized(int)booleanEquivalent ofModifier.isTransient(int)booleanEquivalent ofModifier.isVolatile(int)
-
Method Details
-
getModifiers
Equivalent ofMember.getModifiers()This does not follow the java-api With the Member-class, getModifiers returns anint, 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.- Returns:
- all modifiers is this member
-
getDeclaringClass
-
getName
-
isAbstract
boolean isAbstract()Equivalent ofModifier.isAbstract(int)- Returns:
trueif this member isabstract, otherwisefalse
-
isFinal
boolean isFinal()Equivalent ofModifier.isFinal(int)- Returns:
trueis this member isfinal, otherwisefalse
-
isNative
boolean isNative()Equivalent ofModifier.isNative(int)- Returns:
trueif this member isnative, otherwisefalse
-
isPrivate
boolean isPrivate()Equivalent ofModifier.isPrivate(int)- Returns:
trueif this member isprivate, otherwisefalse
-
isProtected
boolean isProtected()Equivalent ofModifier.isProtected(int)- Returns:
trueif this member isprotected; otherwisefalse
-
isPublic
boolean isPublic()Equivalent ofModifier.isPublic(int)- Returns:
trueif this member ispublic, otherwisefalse
-
isStatic
boolean isStatic()Equivalent ofModifier.isStatic(int)- Returns:
trueif this member isstatic, otherwisefalse
-
isStrictfp
boolean isStrictfp()Equivalent ofModifier.isStrict(int)- Returns:
trueif this member isstrictfp, otherwisefalse
-
isSynchronized
boolean isSynchronized()Equivalent ofModifier.isSynchronized(int)- Returns:
trueif this member issynchronized, otherwisefalse
-
isTransient
boolean isTransient()Equivalent ofModifier.isTransient(int)- Returns:
trueif this member istransient, otherwisefalse
-
isVolatile
boolean isVolatile()Equivalent ofModifier.isVolatile(int)- Returns:
trueif this member isvolatile, otherwisefalse
-