public class MethodParametersAttribute extends AttributeInfo
MethodParameters_attribute.| Modifier and Type | Field and Description | 
|---|---|
| static String | tagThe 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_flagsof the i-th element ofparameters. | 
| AttributeInfo | copy(ConstPool newCp,
    Map classnames)Makes a copy. | 
| int | name(int i)Returns the value of  name_indexof the i-th element ofparameters. | 
| int | size()Returns  parameters_count, which is the number of
 parameters. | 
get, getConstPool, getName, length, setpublic 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.AccessFlagpublic AttributeInfo copy(ConstPool newCp, Map classnames)
copy in class AttributeInfonewCp - the constant pool table used by the new copy.classnames - ignored.Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.