Package org.apache.bcel.classfile
Class MethodParameter
java.lang.Object
org.apache.bcel.classfile.MethodParameter
- All Implemented Interfaces:
Cloneable
Entry of the parameters table.
- Since:
- 6.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy()
final void
dump
(DataOutputStream file) Dump object to file stream on binary format.int
int
getParameterName
(ConstantPool constant_pool) Returns the name of the parameter.boolean
isFinal()
boolean
boolean
void
setAccessFlags
(int access_flags) void
setNameIndex
(int name_index)
-
Constructor Details
-
MethodParameter
public MethodParameter()
-
-
Method Details
-
getNameIndex
public int getNameIndex() -
setNameIndex
public void setNameIndex(int name_index) -
getParameterName
Returns the name of the parameter. -
getAccessFlags
public int getAccessFlags() -
setAccessFlags
public void setAccessFlags(int access_flags) -
isFinal
public boolean isFinal() -
isSynthetic
public boolean isSynthetic() -
isMandated
public boolean isMandated() -
accept
-
dump
Dump object to file stream on binary format.- Parameters:
file
- Output file stream- Throws:
IOException
-
copy
- Returns:
- deep copy of this object
-