Class ClassRemapper


  • public class ClassRemapper
    extends ClassVisitor
    A ClassVisitor that remaps types with a Remapper.

    This visitor has several limitations. A non-exhaustive list is the following:

    • it cannot remap type names in dynamically computed strings (remapping of type names in static values is supported).
    • it cannot remap values derived from type names at compile time, such as
      • type name hashcodes used by some Java compilers to implement the string switch statement.
      • some compound strings used by some Java compilers to implement lambda deserialization.
    Author:
    Eugene Kuleshov