org.aspectj.org.eclipse.jdt.internal.core.util
Class InnerClassesAttributeEntry

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.aspectj.org.eclipse.jdt.internal.core.util.InnerClassesAttributeEntry
All Implemented Interfaces:
IInnerClassesAttributeEntry

public class InnerClassesAttributeEntry
extends ClassFileStruct
implements IInnerClassesAttributeEntry

Default implementation of IInnerClassesAttributeEntry


Constructor Summary
InnerClassesAttributeEntry(byte[] classFileBytes, IConstantPool constantPool, int offset)
           
 
Method Summary
 int getAccessFlags()
          Answer back the access flag of this inner classes attribute as specified in the JVM specifications.
 char[] getInnerClassName()
          Answer back the inner class name of this inner classes attribute as specified in the JVM specifications, null if inner class name index is equals to zero.
 int getInnerClassNameIndex()
          Answer back the inner class name index of this inner classes attribute as specified in the JVM specifications.
 char[] getInnerName()
          Answer back the inner name of this inner classes attribute as specified in the JVM specifications, null if inner name index is equals to zero.
 int getInnerNameIndex()
          Answer back the inner name index of this inner classes attribute as specified in the JVM specifications.
 char[] getOuterClassName()
          Answer back the outer class name of this inner classes attribute as specified in the JVM specifications, null if outer class name index is equals to zero.
 int getOuterClassNameIndex()
          Answer back the outer class name index of this inner classes attribute as specified in the JVM specifications.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InnerClassesAttributeEntry

public InnerClassesAttributeEntry(byte[] classFileBytes,
                                  IConstantPool constantPool,
                                  int offset)
                           throws ClassFormatException
Throws:
ClassFormatException
Method Detail

getAccessFlags

public int getAccessFlags()
Description copied from interface: IInnerClassesAttributeEntry
Answer back the access flag of this inner classes attribute as specified in the JVM specifications.

Specified by:
getAccessFlags in interface IInnerClassesAttributeEntry
Returns:
the access flag of this inner classes attribute as specified in the JVM specifications
See Also:
IInnerClassesAttributeEntry.getAccessFlags()

getInnerClassName

public char[] getInnerClassName()
Description copied from interface: IInnerClassesAttributeEntry
Answer back the inner class name of this inner classes attribute as specified in the JVM specifications, null if inner class name index is equals to zero.

Specified by:
getInnerClassName in interface IInnerClassesAttributeEntry
Returns:
the inner class name of this inner classes attribute as specified in the JVM specifications, null if inner class name index is equals to zero
See Also:
IInnerClassesAttributeEntry.getInnerClassName()

getInnerClassNameIndex

public int getInnerClassNameIndex()
Description copied from interface: IInnerClassesAttributeEntry
Answer back the inner class name index of this inner classes attribute as specified in the JVM specifications.

Specified by:
getInnerClassNameIndex in interface IInnerClassesAttributeEntry
Returns:
the inner class name index of this inner classes attribute as specified in the JVM specifications
See Also:
IInnerClassesAttributeEntry.getInnerClassNameIndex()

getInnerName

public char[] getInnerName()
Description copied from interface: IInnerClassesAttributeEntry
Answer back the inner name of this inner classes attribute as specified in the JVM specifications, null if inner name index is equals to zero.

Specified by:
getInnerName in interface IInnerClassesAttributeEntry
Returns:
the inner name of this inner classes attribute as specified in the JVM specifications, null if inner name index is equals to zero
See Also:
IInnerClassesAttributeEntry.getInnerName()

getInnerNameIndex

public int getInnerNameIndex()
Description copied from interface: IInnerClassesAttributeEntry
Answer back the inner name index of this inner classes attribute as specified in the JVM specifications.

Specified by:
getInnerNameIndex in interface IInnerClassesAttributeEntry
Returns:
the inner name index of this inner classes attribute as specified in the JVM specifications
See Also:
IInnerClassesAttributeEntry.getInnerNameIndex()

getOuterClassName

public char[] getOuterClassName()
Description copied from interface: IInnerClassesAttributeEntry
Answer back the outer class name of this inner classes attribute as specified in the JVM specifications, null if outer class name index is equals to zero.

Specified by:
getOuterClassName in interface IInnerClassesAttributeEntry
Returns:
the outer class name of this inner classes attribute as specified in the JVM specifications, null if outer class name index is equals to zero
See Also:
IInnerClassesAttributeEntry.getOuterClassName()

getOuterClassNameIndex

public int getOuterClassNameIndex()
Description copied from interface: IInnerClassesAttributeEntry
Answer back the outer class name index of this inner classes attribute as specified in the JVM specifications.

Specified by:
getOuterClassNameIndex in interface IInnerClassesAttributeEntry
Returns:
the outer class name index of this inner classes attribute as specified in the JVM specifications
See Also:
IInnerClassesAttributeEntry.getOuterClassNameIndex()