Package proguard.classfile.editor
Interface ClassReferenceFixer.NameGenerationStrategy
-
- Enclosing class:
- ClassReferenceFixer
public static interface ClassReferenceFixer.NameGenerationStrategy
This interface provides an abstraction on how aMember
should be renamed when its descriptor need to be updated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getNewName(ProgramClass programClass, ProgramMember programMember, java.lang.String originalName, java.lang.String originalDescriptor)
A method for generating a new name for a program member.
-
-
-
Method Detail
-
getNewName
java.lang.String getNewName(ProgramClass programClass, ProgramMember programMember, java.lang.String originalName, java.lang.String originalDescriptor)
A method for generating a new name for a program member.- Parameters:
programClass
- The program class that the ClassReferenceFixer is visiting.programMember
- The program member that the ClassReferenceFixer is visiting.originalName
- The original name of the program member.originalDescriptor
- The original descriptor of the program member.- Returns:
- The new name of the program member.
-
-