Class MethodParametersAttribute
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.MethodParametersAttribute
- All Implemented Interfaces:
IClassFileAttribute
,IMethodParametersAttribute
public class MethodParametersAttribute
extends ClassFileAttribute
implements IMethodParametersAttribute
- Since:
- 3.10
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
-
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 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
-
getMethodParameterLength
public int getMethodParameterLength()Description copied from interface:IMethodParametersAttribute
Answer back the number of parameters for this method as specified in the JVM specifications.- Specified by:
getMethodParameterLength
in interfaceIMethodParametersAttribute
- Returns:
- the number of parameters for this method as specified in the JVM specifications
-
getParameterName
public char[] getParameterName(int i) Description copied from interface:IMethodParametersAttribute
Answer back the name for the i'th parameter. Answer null if no name is available.- Specified by:
getParameterName
in interfaceIMethodParametersAttribute
- Returns:
- back the name for the i'th parameter. Returns null if no name is available.
-
getAccessFlags
public short getAccessFlags(int i) Description copied from interface:IMethodParametersAttribute
Answer back the access flags for the i'th parameter, a mask ofACC_FINAL
,ACC_SYNTHETIC
, andACC_MANDATED
.- Specified by:
getAccessFlags
in interfaceIMethodParametersAttribute
- Returns:
- the access flags for the i'th parameter.
-