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

public class InnerClassInfo extends ClassFileStruct implements 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
    Constructor
    Description
    InnerClassInfo(byte[] classFileBytes, int[] offsets, int offset)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    char[]
    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[]
    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.
    Answer the string representation of the receiver

    Methods inherited from class ClassFileStruct

    doubleAt, floatAt, i4At, i8At, reset, u1At, u2At, u4At, utf8At
    Modifier and Type
    Method
    Description
    double
    doubleAt(int relativeOffset)
     
    float
    floatAt(int relativeOffset)
     
    int
    i4At(int relativeOffset)
     
    long
    i8At(int relativeOffset)
     
    protected void
     
    int
    u1At(int relativeOffset)
     
    int
    u2At(int relativeOffset)
     
    int
    u4At(int relativeOffset)
    Returns an 32 bit integer created of 4 bytes.
    char[]
    utf8At(int relativeOffset, int bytesAvailable)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 interface IBinaryNestedType
    • 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 interface IBinaryNestedType
    • 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 interface IBinaryNestedType
    • getSourceName

      public char[] getSourceName()
      Answer the source name of the member type. For example, p1.p2.A.M is M.
      Returns:
      char[]
    • toString

      public String toString()
      Answer the string representation of the receiver
      Overrides:
      toString in class Object
      Returns:
      java.lang.String