Search in sources :

Example 1 with StackMapTable_attribute

use of com.sun.tools.classfile.StackMapTable_attribute in project jdk8u_jdk by JetBrains.

the class AnnotationsElementVisitor method visitStackMapTable.

@Override
public Element visitStackMapTable(StackMapTable_attribute smt, Element p) {
    Element stackmap = new Element(x.getCpString(smt.attribute_name_index));
    for (StackMapTable_attribute.stack_map_frame f : smt.entries) {
        StackMapVisitor smv = new StackMapVisitor(x, cf, stackmap);
        stackmap.add(smv.visit(f));
    }
    stackmap.trimToSize();
    p.add(stackmap);
    return null;
}
Also used : StackMapTable_attribute(com.sun.tools.classfile.StackMapTable_attribute) Element(xmlkit.XMLKit.Element)

Aggregations

StackMapTable_attribute (com.sun.tools.classfile.StackMapTable_attribute)1 Element (xmlkit.XMLKit.Element)1