Package ai.timefold.jpyinterpreter.util
Class JavaPythonClassWriter
java.lang.Object
org.objectweb.asm.ClassVisitor
org.objectweb.asm.ClassWriter
ai.timefold.jpyinterpreter.util.JavaPythonClassWriter
public class JavaPythonClassWriter
extends org.objectweb.asm.ClassWriter
A ClassWriter with a custom getCommonSuperClass, preventing
TypeNotPresent errors when computing frames.
-
Field Summary
Fields inherited from class org.objectweb.asm.ClassWriter
COMPUTE_FRAMES, COMPUTE_MAXSFields inherited from class org.objectweb.asm.ClassVisitor
api, cv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetCommonSuperClass(String type1, String type2) 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, visitTypeAnnotationMethods inherited from class org.objectweb.asm.ClassVisitor
getDelegate
-
Constructor Details
-
JavaPythonClassWriter
public JavaPythonClassWriter(int flags)
-
-
Method Details
-
getCommonSuperClass
- Overrides:
getCommonSuperClassin classorg.objectweb.asm.ClassWriter
-