public class MethodParametersAttribute extends AttributeInfo
MethodParameters_attribute
.Modifier and Type | Field and Description |
---|---|
static String |
tag
The name of this attribute
"MethodParameters" . |
constPool
Constructor and Description |
---|
MethodParametersAttribute(ConstPool cp,
String[] names,
int[] flags)
Constructs an attribute.
|
Modifier and Type | Method and Description |
---|---|
int |
accessFlags(int i)
Returns the value of
access_flags of the i-th element of parameters . |
AttributeInfo |
copy(ConstPool newCp,
Map classnames)
Makes a copy.
|
int |
name(int i)
Returns the value of
name_index of the i-th element of parameters . |
int |
size()
Returns
parameters_count , which is the number of
parameters. |
get, getConstPool, getName, length, set
public static final String tag
"MethodParameters"
.public int size()
parameters_count
, which is the number of
parameters.public int name(int i)
name_index
of the i-th element of parameters
.i
- the position of the parameter.public int accessFlags(int i)
access_flags
of the i-th element of parameters
.i
- the position of the parameter.AccessFlag
public AttributeInfo copy(ConstPool newCp, Map classnames)
copy
in class AttributeInfo
newCp
- the constant pool table used by the new copy.classnames
- ignored.Copyright © 2020 Shigeru Chiba, www.javassist.org. All rights reserved.