Class InnerClassInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.InnerClassInfo
- All Implemented Interfaces:
IBinaryNestedType
Describes one entry in the classes table of the InnerClasses attribute.
See the inner class specification (The class file attribute "InnerClasses").
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchar[]
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.int
Answer an int whose bits are set according the access constants defined by the VM spec.char[]
getName()
Answer the resolved name of the member type in the class file format as specified in section 4.2 of the Java 2 VM spec.char[]
Answer the source name of the member type.toString()
Answer the string representation of the receiver
-
Constructor Details
-
InnerClassInfo
public InnerClassInfo(byte[] classFileBytes, int[] offsets, int offset)
-
-
Method Details
-
getEnclosingTypeName
public char[] getEnclosingTypeName()Description copied from interface:IBinaryNestedType
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. For example, java.lang.String is java/lang/String.- Specified by:
getEnclosingTypeName
in interfaceIBinaryNestedType
-
getModifiers
public int getModifiers()Description copied from interface:IBinaryNestedType
Answer an int whose bits are set according the access constants defined by the VM spec.- Specified by:
getModifiers
in interfaceIBinaryNestedType
-
getName
public char[] getName()Description copied from interface:IBinaryNestedType
Answer the resolved name of the member type in the class file format as specified in section 4.2 of the Java 2 VM spec. For example, p1.p2.A.M is p1/p2/A$M.- Specified by:
getName
in interfaceIBinaryNestedType
-
getSourceName
public char[] getSourceName()Answer the source name of the member type. For example, p1.p2.A.M is M.- Returns:
- char[]
-
toString
Answer the string representation of the receiver
-