public class ClassSpecificationVisitorFactory extends Object
| Constructor and Description |
|---|
ClassSpecificationVisitorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ClassPoolVisitor |
createClassPoolVisitor(ClassSpecification classSpecification,
ClassVisitor classVisitor,
MemberVisitor memberVisitor)
Constructs a ClassPoolVisitor to efficiently travel to the specified
classes and class members.
|
static ClassPoolVisitor |
createClassPoolVisitor(KeepClassSpecification keepClassSpecification,
ClassVisitor classVisitor,
MemberVisitor memberVisitor)
Constructs a ClassPoolVisitor to efficiently travel to the specified
classes and class members.
|
static ClassPoolVisitor |
createClassPoolVisitor(List classSpecifications,
ClassVisitor classVisitor,
MemberVisitor memberVisitor)
Constructs a ClassPoolVisitor to efficiently travel to the specified
classes and class members.
|
static ClassPoolVisitor |
createClassPoolVisitor(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.
|
public static ClassPoolVisitor createClassPoolVisitor(List keepClassSpecifications, ClassVisitor classVisitor, MemberVisitor memberVisitor, boolean shrinking, boolean optimizing, boolean obfuscating)
keepClassSpecifications - the list of KeepClassSpecification
instances that specify 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.shrinking - a flag that specifies whether the visitors
are intended for the shrinking step.optimizing - a flag that specifies whether the visitors
are intended for the optimization step.obfuscating - a flag that specifies whether the visitors
are intended for the obfuscation step.public static ClassPoolVisitor createClassPoolVisitor(List classSpecifications, ClassVisitor classVisitor, MemberVisitor memberVisitor)
classSpecifications - the list of ClassSpecification instances
that specify 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.public static ClassPoolVisitor createClassPoolVisitor(KeepClassSpecification keepClassSpecification, ClassVisitor classVisitor, MemberVisitor memberVisitor)
keepClassSpecification - the specifications of the class(es) and
class members to visit.classVisitor - the ClassVisitor to be applied to
matching classes.memberVisitor - the MemberVisitor to be applied to
matching class members.public static ClassPoolVisitor createClassPoolVisitor(ClassSpecification classSpecification, ClassVisitor classVisitor, MemberVisitor memberVisitor)
classSpecification - the specifications of the class(es) and class
members to visit.classVisitor - the ClassVisitor to be applied to matching
classes.memberVisitor - the MemberVisitor to be applied to matching
class members.Copyright © 2015. All Rights Reserved.