protected static class TypeWriter.Default.FrameComputingClassWriter extends ClassWriter
ClassFileLocator 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| Modifier | Constructor and Description |
|---|---|
protected |
FrameComputingClassWriter(ClassReader classReader,
int flags,
TypePool typePool)
Creates a new frame computing class writer.
|
protected |
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) |
String |
toString() |
newClass, newConst, newField, newHandle, newHandle, newInvokeDynamic, newMethod, newMethodType, newNameType, newUTF8, toByteArray, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitOuterClass, visitSource, visitTypeAnnotationprotected 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.protected 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–2016. All rights reserved.