Class TypeConstantAdjustment.TypeConstantDissolvingClassVisitor

java.lang.Object
org.objectweb.asm.ClassVisitor
net.bytebuddy.asm.TypeConstantAdjustment.TypeConstantDissolvingClassVisitor
Enclosing class:
TypeConstantAdjustment

protected static class TypeConstantAdjustment.TypeConstantDissolvingClassVisitor extends org.objectweb.asm.ClassVisitor
A class visitor that checks a class file version for its support of storing class constants in the constant pool and remaps such constants on discovery if that is not the case.
  • Field Details

    • supportsTypeConstants

      private boolean supportsTypeConstants
      true if the class file version supports class constants in a constant pool.
  • Constructor Details

    • TypeConstantDissolvingClassVisitor

      protected TypeConstantDissolvingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor)
      Creates a new type constant dissolving class visitor.
      Parameters:
      classVisitor - The underlying class visitor.
  • Method Details