View | Details | Raw Unified | Return to bug 41974
Collapse All | Expand All

(-)D:/eclipse/workspaces/jpoxworkspace2/bcelhead/src/main/java/org/apache/bcel/verifier/statics/StringRepresentation.java (+16 lines)
Lines 17-22 Link Here
17
package org.apache.bcel.verifier.statics;
17
package org.apache.bcel.verifier.statics;
18
18
19
19
20
import org.apache.bcel.classfile.Annotations;
20
import org.apache.bcel.classfile.Code;
21
import org.apache.bcel.classfile.Code;
21
import org.apache.bcel.classfile.CodeException;
22
import org.apache.bcel.classfile.CodeException;
22
import org.apache.bcel.classfile.ConstantClass;
23
import org.apache.bcel.classfile.ConstantClass;
Lines 42-47 Link Here
42
import org.apache.bcel.classfile.LineNumberTable;
43
import org.apache.bcel.classfile.LineNumberTable;
43
import org.apache.bcel.classfile.LocalVariable;
44
import org.apache.bcel.classfile.LocalVariable;
44
import org.apache.bcel.classfile.LocalVariableTable;
45
import org.apache.bcel.classfile.LocalVariableTable;
46
import org.apache.bcel.classfile.LocalVariableTypeTable;
45
import org.apache.bcel.classfile.Method;
47
import org.apache.bcel.classfile.Method;
46
import org.apache.bcel.classfile.Node;
48
import org.apache.bcel.classfile.Node;
47
import org.apache.bcel.classfile.Signature;
49
import org.apache.bcel.classfile.Signature;
Lines 127-132 Link Here
127
        tostring = "<CODE>"; // We don't need real code outputs.
129
        tostring = "<CODE>"; // We don't need real code outputs.
128
    }
130
    }
129
131
132
    public void visitAnnotation(Annotations obj)
133
    {
134
        //this is invoked whenever an annotation is found
135
        //when verifier is passed over a class
136
        tostring = toString(obj);
137
    }
138
    
139
    public void visitLocalVariableTypeTable(LocalVariableTypeTable obj)
140
    {
141
        //this is invoked whenever a local variable type is found
142
        //when verifier is passed over a class
143
        tostring = toString(obj);
144
    }
145
    
130
    public void visitCodeException(CodeException obj) {
146
    public void visitCodeException(CodeException obj) {
131
        tostring = toString(obj);
147
        tostring = toString(obj);
132
    }
148
    }

Return to bug 41974