public class CLAwareClassWriter extends ClassWriter
The ClassLoader is used specifically to assist the inherited getCommonSuperClass() method.
| Modifier and Type | Field and Description |
|---|---|
protected ClassLoader |
classLoader |
COMPUTE_FRAMES, COMPUTE_MAXSapi, cv| Constructor and Description |
|---|
CLAwareClassWriter(int flags,
ClassLoader classLoader)
Construct with flags and a ClassLoader which is used for supporting the getCommonSuperClass() method.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
classForName(String name)
Return the class using the supplied ClassLoader.
|
getCommonSuperClass, newClass, newConst, newField, newHandle, newInvokeDynamic, newMethod, newMethodType, newNameType, newUTF8, toByteArray, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitOuterClass, visitSource, visitTypeAnnotationprotected final ClassLoader classLoader
public CLAwareClassWriter(int flags,
ClassLoader classLoader)
protected Class<?> classForName(String name) throws ClassNotFoundException
classForName in class ClassWriterClassNotFoundExceptionCopyright © 2016. All rights reserved.