public class MemberCollector extends java.lang.Object implements MemberVisitor
MemberVisitor
collects dot-separated classname.membername.descriptor strings of the
class members that it visits.Constructor and Description |
---|
MemberCollector(boolean includeClassName,
boolean includeMemberName,
boolean includeMemberDescriptor,
java.util.Set<java.lang.String> set)
Creates a new MemberCollector.
|
Modifier and Type | Method and Description |
---|---|
void |
visitAnyMember(Clazz clazz,
Member member)
Visits any Member instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryField, visitLibraryMember, visitLibraryMethod, visitProgramField, visitProgramMember, visitProgramMethod
public MemberCollector(boolean includeClassName, boolean includeMemberName, boolean includeMemberDescriptor, java.util.Set<java.lang.String> set)
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.public void visitAnyMember(Clazz clazz, Member member)
MemberVisitor
visitAnyMember
in interface MemberVisitor