| Modifier and Type | Field and Description |
|---|---|
| protected AnnotationInfoList | annotationInfo
The annotation on the class member, if any. |
| private AnnotationInfoList | annotationInfoRef
The annotation infos, once they are loaded |
| protected String | declaringClassName
Defining class name. |
| protected int | modifiers
Class member modifiers. |
| protected String | name
The name of the class member. |
| protected String | typeDescriptorStr
The JVM-internal type descriptor (missing type parameters, but including types for synthetic and mandated class member parameters). |
| protected String | typeSignatureStr
The type signature (may have type parameter information included, if present and available). |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | ClassMemberInfo(final String
The class the member is defined within. definingClassName, final String The name of the class member. memberName, final int The class member modifiers. modifiers, final String The class member type descriptor. typeDescriptorStr, final String The class member type signature. typeSignatureStr, final AnnotationInfoList AnnotationInfo for any annotations on the class member.Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationInfoList | Returns: A list of annotations on this class member, along with any annotation parameter values, wrapped inAnnotationInfo objects, or the empty list if none.Get a list of annotations on this class member, along with any annotation parameter values, wrapped in
|
| public AnnotationInfo | Returns: AnAnnotationInfo object representing the annotation on this class member, or null if the
class member does not have the annotation.The annotation. annotation)Get a the non- |
| public AnnotationInfo | Returns: AnAnnotationInfo object representing the named annotation on this class member, or null if
the class member does not have the named annotation.The annotation name. annotationName)Get a the named non- |
| public AnnotationInfoList | Returns: AnAnnotationInfoList of all instances of the annotation on this class member, or the empty
list if the class member does not have the annotation.The annotation. annotation)Get a the |
| public AnnotationInfoList | Returns: AnAnnotationInfoList of all instances of the named annotation on this class member, or the
empty list if the class member does not have the named annotation.The annotation name. annotationName)Get a the named |
| public ClassInfo | Returns: TheClassInfo object for the declaring class.Overrides io. Get the |
| public String | Returns: The name of the declaring class.Implements abstract io. Get the name of the class that declares this member. |
| public int | Returns: The modifier bits for the class member.Returns the modifier bits for the class member. |
| public abstract String | Returns: The modifiers modifiers, as a string.Get the modifiers as a string, e.g. "public static final". |
| public String | Returns: The name of the class member.Implements io. Get the name of the class member. |
| public abstract HierarchicalTypeSignature | Returns: The parsed type descriptor string for the class member.Returns the parsed type descriptor for the class member, which will not include type parameters. |
| public String | Returns: The type descriptor string for the class member.Returns the type descriptor string for the class member, which will not include type parameters. |
| public abstract HierarchicalTypeSignature | Returns: The parsed type signature for the class member, or null if not available.Returns the parsed type signature for the class member, possibly including type parameters. |
| public abstract HierarchicalTypeSignature | Returns: The parsed type signature for the class member, or if not available, the parsed type descriptor for the class member.Returns the type signature for the class member, possibly including type parameters. |
| public String | Returns: The type signature string for the class member, or if not available, the type descriptor string for the class member.Returns the type signature string for the class member, possibly including type parameters. |
| public String | Returns: The type signature string for the class member, or null if not available.Returns the type signature string for the class member, possibly including type parameters. |
| public boolean | Returns: true if this class member has the annotation.The annotation. annotation)Check if the class member has a given annotation. |
| public boolean | Returns: true if this class member has the named annotation.The name of an annotation. annotationName)Check if the class member has a given named annotation. |
| public boolean | |
| public boolean | Returns: True if the class member is private.Returns true if this class member is private. |
| public boolean | Returns: True if the class member is protected.Returns true if this class member is protected. |
| public boolean | |
| public boolean | |
| public boolean | Returns: True if the class member is synthetic.Returns true if this class member is synthetic. |
| annotationInfo | back to summary |
|---|---|
| protected AnnotationInfoList annotationInfo The annotation on the class member, if any. | |
| annotationInfoRef | back to summary |
|---|---|
| private AnnotationInfoList annotationInfoRef The annotation infos, once they are loaded | |
| declaringClassName | back to summary |
|---|---|
| protected String declaringClassName Defining class name. | |
| modifiers | back to summary |
|---|---|
| protected int modifiers Class member modifiers. | |
| name | back to summary |
|---|---|
| protected String name The name of the class member. | |
| typeDescriptorStr | back to summary |
|---|---|
| protected String typeDescriptorStr The JVM-internal type descriptor (missing type parameters, but including types for synthetic and mandated class member parameters). | |
| typeSignatureStr | back to summary |
|---|---|
| protected String typeSignatureStr The type signature (may have type parameter information included, if present and available). Class member parameter types are unaligned. | |
| ClassMemberInfo | back to summary |
|---|---|
| pack-priv ClassMemberInfo() Default constructor for deserialization. | |
| ClassMemberInfo | back to summary |
|---|---|
| public ClassMemberInfo(final String definingClassName, final String memberName, final int modifiers, final String typeDescriptorStr, final String typeSignatureStr, final AnnotationInfoList annotationInfo) Constructor.
| |
| getAnnotationInfo | back to summary |
|---|---|
| public AnnotationInfoList getAnnotationInfo() Get a list of annotations on this class member, along with any annotation parameter values, wrapped in
| |
| getAnnotationInfo | back to summary |
|---|---|
| public AnnotationInfo getAnnotationInfo(final Class<? extends Annotation> annotation) Get a the non-
| |
| getAnnotationInfo | back to summary |
|---|---|
| public AnnotationInfo getAnnotationInfo(final String annotationName) Get a the named non-
| |
| getAnnotationInfoRepeatable | back to summary |
|---|---|
| public AnnotationInfoList getAnnotationInfoRepeatable(final Class<? extends Annotation> annotation) Get a the
| |
| getAnnotationInfoRepeatable | back to summary |
|---|---|
| public AnnotationInfoList getAnnotationInfoRepeatable(final String annotationName) Get a the named
| |
| getClassInfo | back to summary |
|---|---|
| public ClassInfo getClassInfo() Overrides io. Get the
| |
| getClassName | back to summary |
|---|---|
| public String getClassName() Implements abstract io. Get the name of the class that declares this member.
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Returns the modifier bits for the class member.
| |
| getModifiersStr | back to summary |
|---|---|
| public abstract String getModifiersStr() Get the modifiers as a string, e.g. "public static final". For the modifier bits, call getModifiers().
| |
| getName | back to summary |
|---|---|
| public String getName() Implements io. Get the name of the class member. | |
| getTypeDescriptor | back to summary |
|---|---|
| public abstract HierarchicalTypeSignature getTypeDescriptor() Returns the parsed type descriptor for the class member, which will not include type parameters. If you need
generic type parameters, call
| |
| getTypeDescriptorStr | back to summary |
|---|---|
| public String getTypeDescriptorStr() Returns the type descriptor string for the class member, which will not include type parameters. If you need
generic type parameters, call
| |
| getTypeSignature | back to summary |
|---|---|
| public abstract HierarchicalTypeSignature getTypeSignature() Returns the parsed type signature for the class member, possibly including type parameters. If this returns
null, that no type signature information is available for this class member, call
| |
| getTypeSignatureOrTypeDescriptor | back to summary |
|---|---|
| public abstract HierarchicalTypeSignature getTypeSignatureOrTypeDescriptor() Returns the type signature for the class member, possibly including type parameters. If the type signature is null, indicating that no type signature information is available for this class member, returns the type descriptor instead.
| |
| getTypeSignatureOrTypeDescriptorStr | back to summary |
|---|---|
| public String getTypeSignatureOrTypeDescriptorStr() Returns the type signature string for the class member, possibly including type parameters. If the type signature string is null, indicating that no type signature information is available for this class member, returns the type descriptor string instead.
| |
| getTypeSignatureStr | back to summary |
|---|---|
| public String getTypeSignatureStr() Returns the type signature string for the class member, possibly including type parameters. If this returns
null, indicating that no type signature information is available for this class member, call
| |
| hasAnnotation | back to summary |
|---|---|
| public boolean hasAnnotation(final Class<? extends Annotation> annotation) Check if the class member has a given annotation.
| |
| hasAnnotation | back to summary |
|---|---|
| public boolean hasAnnotation(final String annotationName) Check if the class member has a given named annotation.
| |
| isFinal | back to summary |
|---|---|
| public boolean isFinal() Returns true if this class member is final.
| |
| isPrivate | back to summary |
|---|---|
| public boolean isPrivate() Returns true if this class member is private.
| |
| isProtected | back to summary |
|---|---|
| public boolean isProtected() Returns true if this class member is protected.
| |
| isPublic | back to summary |
|---|---|
| public boolean isPublic() Returns true if this class member is public.
| |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Returns true if this class member is static.
| |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() Returns true if this class member is synthetic.
| |