Class Remapper

    • Constructor Detail

      • Remapper

        public Remapper()
    • Method Detail

      • mapMethodDesc

        public String mapMethodDesc​(String desc)
      • mapSignature

        public String mapSignature​(String signature,
                                   boolean typeSignature)
        Parameters:
        typeSignature - true if signature is a FieldTypeSignature, such as the signature parameter of the ClassVisitor.visitField or MethodVisitor.visitLocalVariable methods
      • mapMethodName

        public String mapMethodName​(String owner,
                                    String name,
                                    String desc)
        Map method name to the new name. Subclasses can override.
        Parameters:
        owner - owner of the method.
        name - name of the method.
        desc - descriptor of the method.
        Returns:
        new name of the method
      • mapInvokeDynamicMethodName

        public String mapInvokeDynamicMethodName​(String name,
                                                 String desc)
        Map invokedynamic method name to the new name. Subclasses can override.
        Parameters:
        name - name of the invokedynamic.
        desc - descriptor of the invokedynamic.
        Returns:
        new invokdynamic name.
      • mapFieldName

        public String mapFieldName​(String owner,
                                   String name,
                                   String desc)
        Map field name to the new name. Subclasses can override.
        Parameters:
        owner - owner of the field.
        name - name of the field
        desc - descriptor of the field
        Returns:
        new name of the field.
      • map

        public String map​(String typeName)
        Map type name to the new name. Subclasses can override.