Package org.eclipse.jdt.core.util
Interface IEnclosingMethodAttribute
-
- All Superinterfaces:
IClassFileAttribute
public interface IEnclosingMethodAttribute extends IClassFileAttribute
Description of an enclosing method attribute as described in the JVM specifications (added in J2SE 1.5). This interface may be implemented by clients.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description char[]getEnclosingClass()Answer back the enclosing class name as specified in the JVM specifications.intgetEnclosingClassIndex()Answer back the enclosing class name index.char[]getMethodDescriptor()Answer back the method descriptor of the enclosing method as specified in the JVM specifications.intgetMethodDescriptorIndex()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.intgetMethodNameAndTypeIndex()Answer back the name and type index of this attribute.intgetMethodNameIndex()Answer back the name index of the enclosing method.-
Methods inherited from interface org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
-
-
-
Method Detail
-
getEnclosingClass
char[] getEnclosingClass()
Answer back the enclosing class name as specified in the JVM specifications.- Returns:
- the enclosing class name as specified in the JVM specifications
-
getEnclosingClassIndex
int getEnclosingClassIndex()
Answer back the enclosing class name index.- Returns:
- the enclosing class name index
-
getMethodDescriptor
char[] getMethodDescriptor()
Answer back the method descriptor of the enclosing method as specified in the JVM specifications.- Returns:
- the method descriptor of the enclosing method as specified in the JVM specifications
-
getMethodDescriptorIndex
int getMethodDescriptorIndex()
Answer back the descriptor index of the enclosing method.- Returns:
- the descriptor index of the enclosing method
-
getMethodName
char[] getMethodName()
Answer back the name of the enclosing method as specified in the JVM specifications.- Returns:
- the name of the enclosing method as specified in the JVM specifications
-
getMethodNameIndex
int getMethodNameIndex()
Answer back the name index of the enclosing method.- Returns:
- the name index of the enclosing method
-
getMethodNameAndTypeIndex
int getMethodNameAndTypeIndex()
Answer back the name and type index of this attribute.- Returns:
- the name and type index of this attribute
-
-