public interface IBinaryType extends IGenericType
| Modifier and Type | Field and Description |
|---|---|
static IBinaryField[] |
NoField |
static char[][] |
NoInterface |
static IBinaryMethod[] |
NoMethod |
static IBinaryNestedType[] |
NoNestedType |
JAR_FILE_ENTRY_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
ITypeAnnotationWalker |
enrichWithExternalAnnotationsFor(ITypeAnnotationWalker walker,
java.lang.Object member,
LookupEnvironment environment)
Answer a type annotation walker that takes into consideration also external annotations.
|
IBinaryAnnotation[] |
getAnnotations()
Answer the runtime visible and invisible annotations for this type or null if none.
|
char[] |
getEnclosingMethod()
Answer the enclosing method (including method selector and method descriptor), or
null if none.
|
char[] |
getEnclosingTypeName()
Answer the resolved name of the enclosing type in the
class file format as specified in section 4.2 of the Java 2 VM spec
or null if the receiver is a top level type.
|
BinaryTypeBinding.ExternalAnnotationStatus |
getExternalAnnotationStatus()
Answer whether a provider for external annotations is associated with this binary type.
|
IBinaryField[] |
getFields()
Answer the receiver's fields or null if the array is empty.
|
char[] |
getGenericSignature()
Answer the receiver's ClassSignature, which describes the type parameters,
super class, and super interfaces as specified in section "4.7.9.1 Signatures"
of the Java SE 8 VM spec.
|
char[][] |
getInterfaceNames()
Answer the resolved names of the receiver's interfaces in the
class file format as specified in section 4.2 of the Java 2 VM spec
or null if the array is empty.
|
IBinaryNestedType[] |
getMemberTypes()
Answer the receiver's nested types or null if the array is empty.
|
IBinaryMethod[] |
getMethods()
Answer the receiver's methods or null if the array is empty.
|
char[][][] |
getMissingTypeNames()
Answer the list of missing type names which were referenced from
the problem classfile.
|
char[] |
getName()
Answer the resolved name of the type in the
class file format as specified in section 4.2 of the Java 2 VM spec.
|
char[] |
getSourceName()
Answer the simple name of the type in the class file.
|
char[] |
getSuperclassName()
Answer the resolved name of the receiver's superclass in the
class file format as specified in section 4.2 of the Java 2 VM spec
or null if it does not have one.
|
long |
getTagBits()
Answer the tagbits set according to the bits for annotations.
|
IBinaryTypeAnnotation[] |
getTypeAnnotations()
Answer the runtime visible and invisible type annotations for this type or null if none.
|
boolean |
isAnonymous()
Answer true if the receiver is an anonymous class.
|
boolean |
isLocal()
Answer true if the receiver is a local class.
|
boolean |
isMember()
Answer true if the receiver is a member class.
|
char[] |
sourceFileName()
Answer the source file attribute, or null if none.
|
getModifiers, isBinaryTypegetFileNamestatic final char[][] NoInterface
static final IBinaryNestedType[] NoNestedType
static final IBinaryField[] NoField
static final IBinaryMethod[] NoMethod
IBinaryAnnotation[] getAnnotations()
IBinaryTypeAnnotation[] getTypeAnnotations()
char[] getEnclosingMethod()
char[] getEnclosingTypeName()
IBinaryField[] getFields()
char[] getGenericSignature()
char[][] getInterfaceNames()
IBinaryNestedType[] getMemberTypes()
IBinaryMethod[] getMethods()
char[][][] getMissingTypeNames()
char[] getName()
char[] getSourceName()
char[] getSuperclassName()
long getTagBits()
boolean isAnonymous()
boolean isLocal()
boolean isMember()
char[] sourceFileName()
ITypeAnnotationWalker enrichWithExternalAnnotationsFor(ITypeAnnotationWalker walker, java.lang.Object member, LookupEnvironment environment)
walker - previous walker, may be empty, otherwise it will be returned unchangedmember - if either a IBinaryField or a IBinaryMethod is provided, answer a walker specifically for that memberenvironment - for use by the walkerBinaryTypeBinding.ExternalAnnotationStatus getExternalAnnotationStatus()