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
Constructors -
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.intAnswer 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 receiverMethods inherited from class ClassFileStruct
doubleAt, floatAt, i4At, i8At, reset, u1At, u2At, u4At, utf8AtModifier and TypeMethodDescriptiondoubledoubleAt(int relativeOffset) floatfloatAt(int relativeOffset) inti4At(int relativeOffset) longi8At(int relativeOffset) protected voidreset()intu1At(int relativeOffset) intu2At(int relativeOffset) intu4At(int relativeOffset) Returns an 32 bit integer created of 4 bytes.char[]utf8At(int relativeOffset, int bytesAvailable)
-
Constructor Details
-
InnerClassInfo
public InnerClassInfo(byte[] classFileBytes, int[] offsets, int offset)
-
-
Method Details
-
getEnclosingTypeName
public char[] getEnclosingTypeName()Description copied from interface:IBinaryNestedTypeAnswer 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:
getEnclosingTypeNamein interfaceIBinaryNestedType
-
getModifiers
public int getModifiers()Description copied from interface:IBinaryNestedTypeAnswer an int whose bits are set according the access constants defined by the VM spec.- Specified by:
getModifiersin interfaceIBinaryNestedType
-
getName
public char[] getName()Description copied from interface:IBinaryNestedTypeAnswer 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:
getNamein interfaceIBinaryNestedType
-
getSourceName
public char[] getSourceName()Answer the source name of the member type. For example, p1.p2.A.M is M.- Returns:
- char[]
-
toString
-