Class MethodParameters
- java.lang.Object
-
- org.aspectj.apache.bcel.classfile.Attribute
-
- org.aspectj.apache.bcel.classfile.MethodParameters
-
- All Implemented Interfaces:
Serializable,Cloneable,Node
public class MethodParameters extends Attribute
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intACCESS_FLAGS_FINALstatic intACCESS_FLAGS_MANDATEDstatic intACCESS_FLAGS_SYNTHETICstatic int[]NO_PARAMETER_ACCESS_FLAGSstatic int[]NO_PARAMETER_NAME_INDEXES
-
Constructor Summary
Constructors Constructor Description MethodParameters(int index, int length, DataInputStream dis, ConstantPool cpool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ClassVisitor v)voiddump(DataOutputStream dos)intgetAccessFlags(int parameter)StringgetParameterName(int parameter)intgetParametersCount()booleanisFinal(int parameter)booleanisMandated(int parameter)booleanisSynthetic(int parameter)-
Methods inherited from class org.aspectj.apache.bcel.classfile.Attribute
getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, toString
-
-
-
-
Field Detail
-
NO_PARAMETER_NAME_INDEXES
public static final int[] NO_PARAMETER_NAME_INDEXES
-
NO_PARAMETER_ACCESS_FLAGS
public static final int[] NO_PARAMETER_ACCESS_FLAGS
-
ACCESS_FLAGS_FINAL
public static final int ACCESS_FLAGS_FINAL
- See Also:
- Constant Field Values
-
ACCESS_FLAGS_SYNTHETIC
public static final int ACCESS_FLAGS_SYNTHETIC
- See Also:
- Constant Field Values
-
ACCESS_FLAGS_MANDATED
public static final int ACCESS_FLAGS_MANDATED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MethodParameters
public MethodParameters(int index, int length, DataInputStream dis, ConstantPool cpool) throws IOException- Throws:
IOException
-
-
Method Detail
-
dump
public void dump(DataOutputStream dos) throws IOException
- Overrides:
dumpin classAttribute- Throws:
IOException
-
getParametersCount
public int getParametersCount()
-
getParameterName
public String getParameterName(int parameter)
-
getAccessFlags
public int getAccessFlags(int parameter)
-
isFinal
public boolean isFinal(int parameter)
-
isSynthetic
public boolean isSynthetic(int parameter)
-
isMandated
public boolean isMandated(int parameter)
-
accept
public void accept(ClassVisitor v)
-
-