Class TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.TypeConstantDissolvingMethodVisitor

  • Enclosing class:
    TypeConstantAdjustment.TypeConstantDissolvingClassVisitor

    protected static class TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.TypeConstantDissolvingMethodVisitor
    extends org.objectweb.asm.MethodVisitor
    A method visitor that remaps class constants to invocations of Class.forName(String).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String DESCRIPTOR
      The descriptor of the forName method.
      private static java.lang.String FOR_NAME
      The forName method name.
      private static java.lang.String JAVA_LANG_CLASS
      The internal name of the Class class.
      • Fields inherited from class org.objectweb.asm.MethodVisitor

        api, mv
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TypeConstantDissolvingMethodVisitor​(org.objectweb.asm.MethodVisitor methodVisitor)
      Creates a new type constant dissolving method visitor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visitLdcInsn​(java.lang.Object value)  
      • Methods inherited from class org.objectweb.asm.MethodVisitor

        visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • JAVA_LANG_CLASS

        private static final java.lang.String JAVA_LANG_CLASS
        The internal name of the Class class.
        See Also:
        Constant Field Values
      • FOR_NAME

        private static final java.lang.String FOR_NAME
        The forName method name.
        See Also:
        Constant Field Values
      • DESCRIPTOR

        private static final java.lang.String DESCRIPTOR
        The descriptor of the forName method.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TypeConstantDissolvingMethodVisitor

        protected TypeConstantDissolvingMethodVisitor​(org.objectweb.asm.MethodVisitor methodVisitor)
        Creates a new type constant dissolving method visitor.
        Parameters:
        methodVisitor - The underlying method visitor.
    • Method Detail

      • visitLdcInsn

        public void visitLdcInsn​(java.lang.Object value)
        Overrides:
        visitLdcInsn in class org.objectweb.asm.MethodVisitor