public class MethodParameter
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private int |
access_flags
The access flags
|
private int |
name_index
Index of the CONSTANT_Utf8_info structure in the constant_pool table representing the name of the parameter
|
private static long |
serialVersionUID |
Constructor and Description |
---|
MethodParameter() |
MethodParameter(java.io.DataInputStream file)
Construct object from file stream.
|
Modifier and Type | Method and Description |
---|---|
MethodParameter |
copy() |
void |
dump(java.io.DataOutputStream file)
Dump object to file stream on binary format.
|
int |
getAccessFlags() |
int |
getNameIndex() |
java.lang.String |
getParameterName(ConstantPool constant_pool)
Returns the name of the parameter.
|
boolean |
isFinal() |
boolean |
isMandated() |
boolean |
isSynthetic() |
void |
setAccessFlags(int access_flags) |
void |
setNameIndex(int name_index) |
private static final long serialVersionUID
private int name_index
private int access_flags
public MethodParameter()
MethodParameter(java.io.DataInputStream file) throws java.io.IOException
file
- Input streamjava.io.IOException
ClassFormatException
public int getNameIndex()
public void setNameIndex(int name_index)
public java.lang.String getParameterName(ConstantPool constant_pool)
public int getAccessFlags()
public void setAccessFlags(int access_flags)
public boolean isFinal()
public boolean isSynthetic()
public boolean isMandated()
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
file
- Output file streamjava.io.IOException
public MethodParameter copy()