Search in sources :

Example 6 with DescendingClassTraverser

use of com.jopdesign.common.graphutils.DescendingClassTraverser in project jop by jop-devel.

the class ConstantPoolRebuilder method updateAttributes.

private void updateAttributes(MemberInfo memberInfo, Attribute[] attributes) {
    AttributeVisitor visitor = new AttributeVisitor(newPool.getConstantPool());
    new DescendingClassTraverser(visitor).visitAttributes(memberInfo, attributes);
}
Also used : DescendingClassTraverser(com.jopdesign.common.graphutils.DescendingClassTraverser)

Aggregations

DescendingClassTraverser (com.jopdesign.common.graphutils.DescendingClassTraverser)6 ClassInfo (com.jopdesign.common.ClassInfo)2 HashSet (java.util.HashSet)1 ConstantInteger (org.apache.bcel.classfile.ConstantInteger)1 ConstantString (org.apache.bcel.classfile.ConstantString)1 ConstantPoolGen (org.apache.bcel.generic.ConstantPoolGen)1