Package net.bytebuddy.asm
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 ofClass.forName(String)
.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
DESCRIPTOR
The descriptor of theforName
method.private static java.lang.String
FOR_NAME
TheforName
method name.private static java.lang.String
JAVA_LANG_CLASS
The internal name of theClass
class.
-
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
-
-
-
-
Field Detail
-
JAVA_LANG_CLASS
private static final java.lang.String JAVA_LANG_CLASS
The internal name of theClass
class.- See Also:
- Constant Field Values
-
FOR_NAME
private static final java.lang.String FOR_NAME
TheforName
method name.- See Also:
- Constant Field Values
-
DESCRIPTOR
private static final java.lang.String DESCRIPTOR
The descriptor of theforName
method.- See Also:
- Constant Field Values
-
-