Package org.jruby.util
Class ASM.ClassLoaderAwareWriter
java.lang.Object
org.objectweb.asm.ClassVisitor
org.objectweb.asm.ClassWriter
org.jruby.util.ASM.ClassLoaderAwareWriter
- Enclosing class:
- ASM
private static class ASM.ClassLoaderAwareWriter
extends org.objectweb.asm.ClassWriter
NOTE: required to account for ASM calculating stack-map frames
in which case it might need to know of JRuby's dynamically loaded classes
-
Field Summary
FieldsFields 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) private static StringgetCommonSuperClassImpl(String type1, String type2, ClassLoader loader) Methods inherited from class org.objectweb.asm.ClassWriter
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, visitTypeAnnotationMethods inherited from class org.objectweb.asm.ClassVisitor
getDelegate
-
Field Details
-
loader
-
-
Constructor Details
-
ClassLoaderAwareWriter
ClassLoaderAwareWriter(ClassLoader loader, int flags)
-
-
Method Details
-
getCommonSuperClass
- Overrides:
getCommonSuperClassin classorg.objectweb.asm.ClassWriter
-
getCommonSuperClassImpl
private static String getCommonSuperClassImpl(String type1, String type2, ClassLoader loader) throws TypeNotPresentException - Throws:
TypeNotPresentException
-