Package proguard.classfile.visitor
Class MemberCollector
- java.lang.Object
-
- proguard.classfile.visitor.MemberCollector
-
- All Implemented Interfaces:
MemberVisitor
public class MemberCollector extends java.lang.Object implements MemberVisitor
ThisMemberVisitor
collects dot-separated classname.membername.descriptor strings of the class members that it visits.
-
-
Constructor Summary
Constructors Constructor Description MemberCollector(boolean includeClassName, boolean includeMemberName, boolean includeMemberDescriptor, java.util.Set<java.lang.String> set)
Creates a new MemberCollector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAnyMember(Clazz clazz, Member member)
Visits any Member instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.visitor.MemberVisitor
visitLibraryField, visitLibraryMember, visitLibraryMethod, visitProgramField, visitProgramMember, visitProgramMethod
-
-
-
-
Constructor Detail
-
MemberCollector
public MemberCollector(boolean includeClassName, boolean includeMemberName, boolean includeMemberDescriptor, java.util.Set<java.lang.String> set)
Creates a new MemberCollector.- Parameters:
includeClassName
- specifies whether to include the class name in each collected strings.includeMemberName
- specifies whether to include the member name in each collected strings.includeMemberDescriptor
- specifies whether to include the member descriptor in each collected strings.set
- the Set in which all strings will be collected.
-
-
Method Detail
-
visitAnyMember
public void visitAnyMember(Clazz clazz, Member member)
Description copied from interface:MemberVisitor
Visits any Member instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyMember
in interfaceMemberVisitor
-
-