proguard
Class ClassSpecificationVisitorFactory
java.lang.Object
proguard.ClassSpecificationVisitorFactory
public class ClassSpecificationVisitorFactory
- extends java.lang.Object
This factory creates visitors to efficiently travel to specified classes and
class members.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassSpecificationVisitorFactory
public ClassSpecificationVisitorFactory()
createClassPoolVisitor
public static ClassPoolVisitor createClassPoolVisitor(java.util.List keepClassSpecifications,
ClassVisitor classVisitor,
MemberVisitor memberVisitor,
boolean shrinking,
boolean optimizing,
boolean obfuscating)
- Constructs a ClassPoolVisitor to efficiently travel to the specified
classes and class members.
- Parameters:
keepClassSpecifications - the list of KeepClassSpecification
instances, defining of the classes and
class members to visit.classVisitor - the ClassVisitor to be applied to matching
classes.memberVisitor - the MemberVisitor to be applied to matching
class members.
createClassPoolVisitor
public static ClassPoolVisitor createClassPoolVisitor(java.util.List classSpecifications,
ClassVisitor classVisitor,
MemberVisitor memberVisitor)
- Constructs a ClassPoolVisitor to efficiently travel to the specified
classes and class members.
- Parameters:
classSpecifications - the list of ClassSpecification instances,
defining of the classes and class members to
visit.classVisitor - the ClassVisitor to be applied to matching
classes.memberVisitor - the MemberVisitor to be applied to matching
class members.