Package net.bytebuddy.dynamic.scaffold
Class ClassWriterStrategy.FrameComputingClassWriter
java.lang.Object
org.objectweb.asm.ClassVisitor
org.objectweb.asm.ClassWriter
net.bytebuddy.utility.AsmClassWriter.FrameComputingClassWriter
net.bytebuddy.dynamic.scaffold.ClassWriterStrategy.FrameComputingClassWriter
- Enclosing interface:
ClassWriterStrategy
@Deprecated
public static class ClassWriterStrategy.FrameComputingClassWriter
extends AsmClassWriter.FrameComputingClassWriter
Deprecated.
A class writer that piggy-backs on Byte Buddy's
TypePool
to avoid class loading or look-up errors when redefining a class.
This is not available when creating a new class where automatic frame computation is however not normally a requirement.-
Field Summary
Fields inherited from class org.objectweb.asm.ClassWriter
COMPUTE_FRAMES, COMPUTE_MAXS
Fields inherited from class org.objectweb.asm.ClassVisitor
api, cv
-
Constructor Summary
ConstructorsConstructorDescriptionFrameComputingClassWriter
(int flags, TypePool typePool) Deprecated.Creates a new frame computing class writer.FrameComputingClassWriter
(org.objectweb.asm.ClassReader classReader, int flags, TypePool typePool) Deprecated.Creates a new frame computing class writer. -
Method Summary
Methods inherited from class net.bytebuddy.utility.AsmClassWriter.FrameComputingClassWriter
getCommonSuperClass
Methods inherited from class org.objectweb.asm.ClassWriter
getClassLoader, hasFlags, newClass, newConst, newConstantDynamic, newField, newHandle, newHandle, newInvokeDynamic, newMethod, newMethodType, newModule, newNameType, newPackage, newUTF8, setFlags, toByteArray, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
Methods inherited from class org.objectweb.asm.ClassVisitor
getDelegate
-
Constructor Details
-
FrameComputingClassWriter
Deprecated.Creates a new frame computing class writer.- Parameters:
flags
- The flags to be handed to the writer.typePool
- The type pool to use for computing stack map frames, if required.
-
FrameComputingClassWriter
public FrameComputingClassWriter(org.objectweb.asm.ClassReader classReader, int flags, TypePool typePool) Deprecated.Creates a new frame computing class writer.- Parameters:
classReader
- The class reader from which the original class is read.flags
- The flags to be handed to the writer.typePool
- The type pool to use for computing stack map frames, if required.
-
AsmClassWriter.FrameComputingClassWriter
.