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

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
          extended by org.aspectj.org.eclipse.jdt.internal.core.util.EnclosingMethodAttribute
All Implemented Interfaces:
IClassFileAttribute, IEnclosingMethodAttribute

public class EnclosingMethodAttribute
extends ClassFileAttribute
implements IEnclosingMethodAttribute

Default implementation of EnclosingMethodAttribute.

Since:
3.0

Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
 
Method Summary
 char[] getEnclosingClass()
          Answer back the enclosing class name as specified in the JVM specifications.
 int getEnclosingClassIndex()
          Answer back the enclosing class name index.
 char[] getMethodDescriptor()
          Answer back the method descriptor of the enclosing method as specified in the JVM specifications.
 int getMethodDescriptorIndex()
          Answer back the descriptor index of the enclosing method.
 char[] getMethodName()
          Answer back the name of the enclosing method as specified in the JVM specifications.
 int getMethodNameAndTypeIndex()
          Answer back the name and type index of this attribute.
 int getMethodNameIndex()
          Answer back the name index of the enclosing method.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 
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
 
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 

Method Detail

getEnclosingClass

public char[] getEnclosingClass()
Description copied from interface: IEnclosingMethodAttribute
Answer back the enclosing class name as specified in the JVM specifications.

Specified by:
getEnclosingClass in interface IEnclosingMethodAttribute
Returns:
the enclosing class name as specified in the JVM specifications

getEnclosingClassIndex

public int getEnclosingClassIndex()
Description copied from interface: IEnclosingMethodAttribute
Answer back the enclosing class name index.

Specified by:
getEnclosingClassIndex in interface IEnclosingMethodAttribute
Returns:
the enclosing class name index

getMethodDescriptor

public char[] getMethodDescriptor()
Description copied from interface: IEnclosingMethodAttribute
Answer back the method descriptor of the enclosing method as specified in the JVM specifications.

Specified by:
getMethodDescriptor in interface IEnclosingMethodAttribute
Returns:
the method descriptor of the enclosing method as specified in the JVM specifications

getMethodDescriptorIndex

public int getMethodDescriptorIndex()
Description copied from interface: IEnclosingMethodAttribute
Answer back the descriptor index of the enclosing method.

Specified by:
getMethodDescriptorIndex in interface IEnclosingMethodAttribute
Returns:
the descriptor index of the enclosing method

getMethodName

public char[] getMethodName()
Description copied from interface: IEnclosingMethodAttribute
Answer back the name of the enclosing method as specified in the JVM specifications.

Specified by:
getMethodName in interface IEnclosingMethodAttribute
Returns:
the name of the enclosing method as specified in the JVM specifications

getMethodNameIndex

public int getMethodNameIndex()
Description copied from interface: IEnclosingMethodAttribute
Answer back the name index of the enclosing method.

Specified by:
getMethodNameIndex in interface IEnclosingMethodAttribute
Returns:
the name index of the enclosing method

getMethodNameAndTypeIndex

public int getMethodNameAndTypeIndex()
Description copied from interface: IEnclosingMethodAttribute
Answer back the name and type index of this attribute.

Specified by:
getMethodNameAndTypeIndex in interface IEnclosingMethodAttribute
Returns:
the name and type index of this attribute