Class EnclosingMethodAttribute
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
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
Modifier and TypeMethodDescriptionchar[]Answer back the enclosing class name as specified in the JVM specifications.intAnswer back the enclosing class name index.char[]Answer back the method descriptor of the enclosing method as specified in the JVM specifications.intAnswer back the descriptor index of the enclosing method.char[]Answer back the name of the enclosing method as specified in the JVM specifications.intAnswer back the name and type index of this attribute.intAnswer back the name index of the enclosing method.Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8AtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Method Details
-
getEnclosingClass
public char[] getEnclosingClass()Description copied from interface:IEnclosingMethodAttributeAnswer back the enclosing class name as specified in the JVM specifications.- Specified by:
getEnclosingClassin interfaceIEnclosingMethodAttribute- Returns:
- the enclosing class name as specified in the JVM specifications
-
getEnclosingClassIndex
public int getEnclosingClassIndex()Description copied from interface:IEnclosingMethodAttributeAnswer back the enclosing class name index.- Specified by:
getEnclosingClassIndexin interfaceIEnclosingMethodAttribute- Returns:
- the enclosing class name index
-
getMethodDescriptor
public char[] getMethodDescriptor()Description copied from interface:IEnclosingMethodAttributeAnswer back the method descriptor of the enclosing method as specified in the JVM specifications.- Specified by:
getMethodDescriptorin interfaceIEnclosingMethodAttribute- Returns:
- the method descriptor of the enclosing method as specified in the JVM specifications
-
getMethodDescriptorIndex
public int getMethodDescriptorIndex()Description copied from interface:IEnclosingMethodAttributeAnswer back the descriptor index of the enclosing method.- Specified by:
getMethodDescriptorIndexin interfaceIEnclosingMethodAttribute- Returns:
- the descriptor index of the enclosing method
-
getMethodName
public char[] getMethodName()Description copied from interface:IEnclosingMethodAttributeAnswer back the name of the enclosing method as specified in the JVM specifications.- Specified by:
getMethodNamein interfaceIEnclosingMethodAttribute- Returns:
- the name of the enclosing method as specified in the JVM specifications
-
getMethodNameIndex
public int getMethodNameIndex()Description copied from interface:IEnclosingMethodAttributeAnswer back the name index of the enclosing method.- Specified by:
getMethodNameIndexin interfaceIEnclosingMethodAttribute- Returns:
- the name index of the enclosing method
-
getMethodNameAndTypeIndex
public int getMethodNameAndTypeIndex()Description copied from interface:IEnclosingMethodAttributeAnswer back the name and type index of this attribute.- Specified by:
getMethodNameAndTypeIndexin interfaceIEnclosingMethodAttribute- Returns:
- the name and type index of this attribute
-