Package org.apache.bcel.classfile
Class MethodParameter
java.lang.Object
org.apache.bcel.classfile.MethodParameter
Entry of the parameters table.
Implements Node
as of 6.7.0.
- Since:
- 6.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy()
final void
dump
(DataOutputStream file) Dumps object to file stream on binary format.int
int
getParameterName
(ConstantPool constantPool) Gets the name of the parameter.boolean
isFinal()
boolean
boolean
void
setAccessFlags
(int accessFlags) void
setNameIndex
(int nameIndex)
-
Constructor Details
-
MethodParameter
public MethodParameter()
-
-
Method Details
-
accept
-
copy
- Returns:
- deep copy of this object
-
dump
Dumps object to file stream on binary format.- Parameters:
file
- Output file stream- Throws:
IOException
- if an I/O error occurs.
-
getAccessFlags
-
getNameIndex
-
getParameterName
Gets the name of the parameter.- Parameters:
constantPool
- The pool to query.- Returns:
- Constant from the given pool.
-
isFinal
-
isMandated
-
isSynthetic
-
setAccessFlags
-
setNameIndex
-