Schnittstelle IMethodParametersAttribute
- Alle Superschnittstellen:
IClassFileAttribute
- Alle bekannten Implementierungsklassen:
MethodParametersAttribute
Description of a method's parameters names as described in the JVM specifications.
This interface may be implemented by clients.
- Seit:
- 3.10
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungshort
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.Von Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Methodendetails
-
getMethodParameterLength
int getMethodParameterLength()Answer back the number of parameters for this method as specified in the JVM specifications.- Gibt zurück:
- 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.- Gibt zurück:
- 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
.- Gibt zurück:
- the access flags for the i'th parameter.
-