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.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.TypeConstantDissolvingMethodVisitor
A method visitor that remaps class constants to invocations ofClass.forName(String)
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
TypeConstantDissolvingClassVisitor(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 void
visit(int version, int modifiers, String name, String signature, String superClassName, String[] interfaceName)
org.objectweb.asm.MethodVisitor
visitMethod(int modifiers, String name, String descriptor, String signature, String[] exception)
-