public class MemberRenamer extends java.lang.Object implements MemberVisitor
MemberVisitor
renames the class member names of the classes it visits.Constructor and Description |
---|
MemberRenamer(java.util.function.BiFunction<Clazz,Member,java.lang.String> memberNameFunction) |
MemberRenamer(java.util.function.BiFunction<Clazz,Member,java.lang.String> memberNameFunction,
MemberVisitor extraMemberVisitor) |
MemberRenamer(java.util.function.Function<Clazz,java.lang.String> classNameFunction,
MemberVisitor extraMemberVisitor) |
Modifier and Type | Method and Description |
---|---|
void |
visitLibraryMember(LibraryClass libraryClass,
LibraryMember libraryMember) |
void |
visitProgramMember(ProgramClass programClass,
ProgramMember programMember) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitAnyMember, visitLibraryField, visitLibraryMethod, visitProgramField, visitProgramMethod
public MemberRenamer(java.util.function.BiFunction<Clazz,Member,java.lang.String> memberNameFunction)
public MemberRenamer(java.util.function.Function<Clazz,java.lang.String> classNameFunction, MemberVisitor extraMemberVisitor)
public MemberRenamer(java.util.function.BiFunction<Clazz,Member,java.lang.String> memberNameFunction, MemberVisitor extraMemberVisitor)
public void visitProgramMember(ProgramClass programClass, ProgramMember programMember)
visitProgramMember
in interface MemberVisitor
public void visitLibraryMember(LibraryClass libraryClass, LibraryMember libraryMember)
visitLibraryMember
in interface MemberVisitor