Package org.eclipse.jdt.core.util
Interface IMethodParametersAttribute
- All Superinterfaces:
IClassFileAttribute
Description of a method's parameters names as described in the JVM specifications.
This interface may be implemented by clients.
- Since:
- 3.10
-
Method Summary
Modifier and TypeMethodDescriptionshort
getAccessFlags
(int i) Answer back the access flags for the i'th parameter, a mask ofACC_FINAL
,ACC_SYNTHETIC
, andACC_MANDATED
.int
Answer back the number of parameters for this method as specified in the JVM specifications.char[]
getParameterName
(int i) Answer back the name for the i'th parameter.Methods inherited from interface org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Method Details
-
getMethodParameterLength
int getMethodParameterLength()Answer back the number of parameters for this method as specified in the JVM specifications.- Returns:
- the number of parameters for this method as specified in the JVM specifications
-
getParameterName
char[] getParameterName(int i) Answer back the name for the i'th parameter. Answer null if no name is available.- Returns:
- back the name for the i'th parameter. Returns null if no name is available.
-
getAccessFlags
short getAccessFlags(int i) Answer back the access flags for the i'th parameter, a mask ofACC_FINAL
,ACC_SYNTHETIC
, andACC_MANDATED
.- Returns:
- the access flags for the i'th parameter.
-