Package org.eclipse.jdt.core.util
Interface IEnclosingMethodAttribute
- All Superinterfaces:
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
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 interface org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Method Details
-
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
-