public static class ClassWriterStrategy.FrameComputingClassWriter extends ClassWriter
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.COMPUTE_FRAMES, COMPUTE_MAXSapi, cv| Constructor and Description | 
|---|
| FrameComputingClassWriter(ClassReader classReader,
                         int flags,
                         TypePool typePool)Creates a new frame computing class writer. | 
| FrameComputingClassWriter(int flags,
                         TypePool typePool)Creates a new frame computing class writer. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | getCommonSuperClass(String leftTypeName,
                   String rightTypeName) | 
getClassLoader, hasFlags, newClass, newConst, newConstantDynamic, newField, newHandle, newHandle, newInvokeDynamic, newMethod, newMethodType, newModule, newNameType, newPackage, newUTF8, toByteArray, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotationgetDelegatepublic FrameComputingClassWriter(int flags,
                                 TypePool typePool)
flags - The flags to be handed to the writer.typePool - The type pool to use for computing stack map frames, if required.public FrameComputingClassWriter(ClassReader classReader, int flags, TypePool typePool)
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.protected String getCommonSuperClass(String leftTypeName, String rightTypeName)
getCommonSuperClass in class ClassWriterCopyright © 2014–2024. All rights reserved.