Package net.bytebuddy.asm
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.ClassVisitorA 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classTypeConstantAdjustment.TypeConstantDissolvingClassVisitor.TypeConstantDissolvingMethodVisitorA method visitor that remaps class constants to invocations ofClass.forName(String).
-
Constructor Summary
Constructors Modifier Constructor Description protectedTypeConstantDissolvingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor)Creates a new type constant dissolving class visitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisit(int version, int modifiers, String name, String signature, String superClassName, String[] interfaceName)org.objectweb.asm.MethodVisitorvisitMethod(int modifiers, String name, String descriptor, String signature, String[] exception)
-