use of com.sun.tools.classfile.MethodParameters_attribute in project jdk8u_jdk by JetBrains.
the class AnnotationsElementVisitor method visitMethodParameters.
@Override
public Element visitMethodParameters(MethodParameters_attribute mp, Element p) {
String name = x.getCpString(mp.attribute_name_index);
for (MethodParameters_attribute.Entry e : mp.method_parameter_table) {
Element l = new Element(name);
l.setAttr("name", x.getCpString(e.name_index));
l.setAttr("flag", "" + e.flags);
l.trimToSize();
p.add(l);
}
// already added to parent
return null;
}
Aggregations