public class MultiMemberVisitor extends java.lang.Object implements MemberVisitor
MemberVisitor
delegates all visits to each MemberVisitor
in a given list.Constructor and Description |
---|
MultiMemberVisitor() |
MultiMemberVisitor(MemberVisitor... memberVisitors) |
Modifier and Type | Method and Description |
---|---|
void |
addMemberVisitor(MemberVisitor memberVisitor) |
void |
visitLibraryField(LibraryClass libraryClass,
LibraryField libraryField) |
void |
visitLibraryMethod(LibraryClass libraryClass,
LibraryMethod libraryMethod) |
void |
visitProgramField(ProgramClass programClass,
ProgramField programField) |
void |
visitProgramMethod(ProgramClass programClass,
ProgramMethod programMethod) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitAnyMember, visitLibraryMember, visitProgramMember
public MultiMemberVisitor()
public MultiMemberVisitor(MemberVisitor... memberVisitors)
public void addMemberVisitor(MemberVisitor memberVisitor)
public void visitProgramField(ProgramClass programClass, ProgramField programField)
visitProgramField
in interface MemberVisitor
public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
visitProgramMethod
in interface MemberVisitor
public void visitLibraryField(LibraryClass libraryClass, LibraryField libraryField)
visitLibraryField
in interface MemberVisitor
public void visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
visitLibraryMethod
in interface MemberVisitor