Class TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.TypeConstantDissolvingMethodVisitor

java.lang.Object
org.objectweb.asm.MethodVisitor
net.bytebuddy.asm.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 final String
    The descriptor of the forName method.
    private static final String
    The forName method name.
    private static final String
    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

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.objectweb.asm.MethodVisitor

    getDelegate, 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 Details

  • Constructor Details

    • TypeConstantDissolvingMethodVisitor

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

    • visitLdcInsn

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