Package com.sun.tools.classfile

Examples of com.sun.tools.classfile.LocalVariableTypeTable_attribute


    }

    public void reset(Code_attribute attr) {
        codeAttr = attr;
        pcMap = new HashMap<Integer, List<LocalVariableTypeTable_attribute.Entry>>();
        LocalVariableTypeTable_attribute lvt =
                (LocalVariableTypeTable_attribute) (attr.attributes.get(Attribute.LocalVariableTypeTable));
        if (lvt == null)
            return;

        for (int i = 0; i < lvt.local_variable_table.length; i++) {
View Full Code Here


            }
            Code_attribute code = (Code_attribute)testMethod.attributes.get(Attribute.Code);
            if (code == null) {
                throw new Error("Missing Code attribute for method: " + TEST_METHOD_NAME);
            }
            LocalVariableTypeTable_attribute lvt_table =
                    (LocalVariableTypeTable_attribute)code.attributes.get(Attribute.LocalVariableTypeTable);
            if (lvt_table == null) {
                throw new Error("Missing LocalVariableTypeTable attribute for method: " + TEST_METHOD_NAME);
            }
            if (lvt_table.local_variable_table_length != LVT_LENGTH) {
View Full Code Here

TOP

Related Classes of com.sun.tools.classfile.LocalVariableTypeTable_attribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.