Class SignatureRemapper


  • public class SignatureRemapper
    extends org.objectweb.asm.signature.SignatureVisitor
    A SignatureVisitor that remaps types with a Remapper.
    • Constructor Detail

      • SignatureRemapper

        public SignatureRemapper​(org.objectweb.asm.signature.SignatureVisitor signatureVisitor,
                                 Remapper remapper)
        Constructs a new SignatureRemapper. Subclasses must not use this constructor. Instead, they must use the SignatureRemapper(int,SignatureVisitor,Remapper) version.
        Parameters:
        signatureVisitor - the signature visitor this remapper must delegate to.
        remapper - the remapper to use to remap the types in the visited signature.
      • SignatureRemapper

        protected SignatureRemapper​(int api,
                                    org.objectweb.asm.signature.SignatureVisitor signatureVisitor,
                                    Remapper remapper)
        Constructs a new SignatureRemapper.
        Parameters:
        api - the ASM API version supported by this remapper. Must be one of Opcodes.ASM4, Opcodes.ASM5,Opcodes.ASM6, Opcodes.ASM7, Opcodes.ASM8 or Opcodes.ASM9.
        signatureVisitor - the signature visitor this remapper must delegate to.
        remapper - the remapper to use to remap the types in the visited signature.
    • Method Detail

      • visitClassType

        public void visitClassType​(java.lang.String name)
        Overrides:
        visitClassType in class org.objectweb.asm.signature.SignatureVisitor
      • visitInnerClassType

        public void visitInnerClassType​(java.lang.String name)
        Overrides:
        visitInnerClassType in class org.objectweb.asm.signature.SignatureVisitor
      • visitFormalTypeParameter

        public void visitFormalTypeParameter​(java.lang.String name)
        Overrides:
        visitFormalTypeParameter in class org.objectweb.asm.signature.SignatureVisitor
      • visitTypeVariable

        public void visitTypeVariable​(java.lang.String name)
        Overrides:
        visitTypeVariable in class org.objectweb.asm.signature.SignatureVisitor
      • visitArrayType

        public org.objectweb.asm.signature.SignatureVisitor visitArrayType()
        Overrides:
        visitArrayType in class org.objectweb.asm.signature.SignatureVisitor
      • visitBaseType

        public void visitBaseType​(char descriptor)
        Overrides:
        visitBaseType in class org.objectweb.asm.signature.SignatureVisitor
      • visitClassBound

        public org.objectweb.asm.signature.SignatureVisitor visitClassBound()
        Overrides:
        visitClassBound in class org.objectweb.asm.signature.SignatureVisitor
      • visitExceptionType

        public org.objectweb.asm.signature.SignatureVisitor visitExceptionType()
        Overrides:
        visitExceptionType in class org.objectweb.asm.signature.SignatureVisitor
      • visitInterface

        public org.objectweb.asm.signature.SignatureVisitor visitInterface()
        Overrides:
        visitInterface in class org.objectweb.asm.signature.SignatureVisitor
      • visitInterfaceBound

        public org.objectweb.asm.signature.SignatureVisitor visitInterfaceBound()
        Overrides:
        visitInterfaceBound in class org.objectweb.asm.signature.SignatureVisitor
      • visitParameterType

        public org.objectweb.asm.signature.SignatureVisitor visitParameterType()
        Overrides:
        visitParameterType in class org.objectweb.asm.signature.SignatureVisitor
      • visitReturnType

        public org.objectweb.asm.signature.SignatureVisitor visitReturnType()
        Overrides:
        visitReturnType in class org.objectweb.asm.signature.SignatureVisitor
      • visitSuperclass

        public org.objectweb.asm.signature.SignatureVisitor visitSuperclass()
        Overrides:
        visitSuperclass in class org.objectweb.asm.signature.SignatureVisitor
      • visitTypeArgument

        public void visitTypeArgument()
        Overrides:
        visitTypeArgument in class org.objectweb.asm.signature.SignatureVisitor
      • visitTypeArgument

        public org.objectweb.asm.signature.SignatureVisitor visitTypeArgument​(char wildcard)
        Overrides:
        visitTypeArgument in class org.objectweb.asm.signature.SignatureVisitor
      • visitEnd

        public void visitEnd()
        Overrides:
        visitEnd in class org.objectweb.asm.signature.SignatureVisitor