public abstract class MemberInfo
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.StringBuilder |
appendBriefDescription(java.lang.StringBuilder sb) |
abstract java.lang.StringBuilder |
appendDescription(java.lang.StringBuilder sb) |
abstract java.lang.StringBuilder |
appendErasedDescription(java.lang.StringBuilder sb) |
abstract java.lang.StringBuilder |
appendErasedSignature(java.lang.StringBuilder sb) |
abstract java.lang.StringBuilder |
appendSignature(java.lang.StringBuilder sb) |
abstract java.lang.StringBuilder |
appendSimpleDescription(java.lang.StringBuilder sb) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
<T extends java.lang.annotation.Annotation> |
getAnnotationsByType(java.lang.Class<T> annotationClass) |
java.lang.String |
getBriefDescription()
Human-readable brief description of a type or member, which does not
include information super types, thrown exceptions, or modifiers other
than 'static'.
|
<T extends java.lang.annotation.Annotation> |
getDeclaredAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
<T extends java.lang.annotation.Annotation> |
getDeclaredAnnotationsByType(java.lang.Class<T> annotationClass) |
abstract Type |
getDeclaringType() |
java.lang.String |
getDescription()
Human-readable full description of a type or member, which includes
specification of super types (in brief format), thrown exceptions,
and modifiers.
|
java.lang.String |
getErasedDescription()
Human-readable erased description of a type or member.
|
java.lang.String |
getErasedSignature()
Method that returns type erased signature of a type or member;
suitable as non-generic signature some packages need.
|
abstract MemberType |
getMemberType() |
abstract int |
getModifiers() |
abstract java.lang.String |
getName() |
Type |
getReflectedType() |
java.lang.String |
getSignature()
Method that returns full generic signature of a type or member.
|
java.lang.String |
getSimpleDescription()
Human-readable simple description of a type or member, which does not
include information super type or fully-qualified type names.
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
boolean |
isEquivalentTo(MemberInfo other) |
boolean |
isFinal() |
boolean |
isNonPublic() |
boolean |
isPackagePrivate() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
java.lang.String |
toString() |
public abstract MemberType getMemberType()
public abstract java.lang.String getName()
public abstract Type getDeclaringType()
public Type getReflectedType()
public final boolean isFinal()
public final boolean isNonPublic()
public final boolean isPrivate()
public final boolean isProtected()
public final boolean isPublic()
public final boolean isStatic()
public final boolean isPackagePrivate()
public abstract int getModifiers()
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElementpublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation in interface java.lang.reflect.AnnotatedElement@NotNull public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElement@NotNull public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElementpublic <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(java.lang.Class<T> annotationClass)
public <T extends java.lang.annotation.Annotation> T[] getAnnotationsByType(java.lang.Class<T> annotationClass)
public <T extends java.lang.annotation.Annotation> T[] getDeclaredAnnotationsByType(java.lang.Class<T> annotationClass)
public boolean isEquivalentTo(MemberInfo other)
public java.lang.String getSignature()
public java.lang.String getErasedSignature()
public java.lang.String getBriefDescription()
public java.lang.String getDescription()
public java.lang.String getErasedDescription()
public java.lang.String getSimpleDescription()
public java.lang.String toString()
toString in class java.lang.Objectpublic abstract java.lang.StringBuilder appendDescription(java.lang.StringBuilder sb)
public abstract java.lang.StringBuilder appendBriefDescription(java.lang.StringBuilder sb)
public abstract java.lang.StringBuilder appendErasedDescription(java.lang.StringBuilder sb)
public abstract java.lang.StringBuilder appendSignature(java.lang.StringBuilder sb)
public abstract java.lang.StringBuilder appendErasedSignature(java.lang.StringBuilder sb)
public abstract java.lang.StringBuilder appendSimpleDescription(java.lang.StringBuilder sb)