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.int
Answer back the enclosing class name index.char[]
Answer back the method descriptor of the enclosing method as specified in the JVM specifications.int
Answer back the descriptor index of the enclosing method.char[]
Answer back the name of the enclosing method as specified in the JVM specifications.int
Answer back the name and type index of this attribute.int
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 Details
-
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 interfaceIEnclosingMethodAttribute
- 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 interfaceIEnclosingMethodAttribute
- 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 interfaceIEnclosingMethodAttribute
- 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 interfaceIEnclosingMethodAttribute
- 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 interfaceIEnclosingMethodAttribute
- 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 interfaceIEnclosingMethodAttribute
- 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 interfaceIEnclosingMethodAttribute
- Returns:
- the name and type index of this attribute
-