public class ClassLoaderAwareClassWriter
extends org.objectweb.asm.ClassWriter
ClassWriter
that uses a specific classloader to load classes.Constructor and Description |
---|
ClassLoaderAwareClassWriter(int flags,
String className,
String superClass,
ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
protected String |
getCommonSuperClass(String type1,
String type2)
Implements the common super class lookup to be a bit more permissive.
|
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, visitTypeAnnotation
public ClassLoaderAwareClassWriter(int flags, String className, String superClass, ClassLoader loader)
protected final String getCommonSuperClass(String type1, String type2)
getCommonSuperClass
in class org.objectweb.asm.ClassWriter
type1
- the first classtype2
- the second classCopyright © 2006–2023 The Apache Software Foundation. All rights reserved.