|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.asm.ClassVisitor
org.objectweb.asm.ClassWriter
org.apache.aries.proxy.impl.common.OSGiFriendlyClassWriter
public final class OSGiFriendlyClassWriter
We need to override ASM's default behaviour in getCommonSuperClass(String, String)
so that it doesn't load classes (which it was doing on the wrong ClassLoader
anyway...)
Field Summary |
---|
Fields inherited from class org.objectweb.asm.ClassWriter |
---|
COMPUTE_FRAMES, COMPUTE_MAXS |
Fields inherited from class org.objectweb.asm.ClassVisitor |
---|
api, cv |
Constructor Summary | |
---|---|
OSGiFriendlyClassWriter(org.objectweb.asm.ClassReader arg0,
int arg1,
ClassLoader loader)
|
|
OSGiFriendlyClassWriter(int arg0,
ClassLoader loader)
|
Method Summary | |
---|---|
protected String |
getCommonSuperClass(String arg0,
String arg1)
We provide an implementation that doesn't cause class loads to occur. |
Methods inherited from class org.objectweb.asm.ClassWriter |
---|
newClass, newConst, newField, newHandle, newInvokeDynamic, newMethod, newMethodType, newNameType, newUTF8, toByteArray, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitOuterClass, visitSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OSGiFriendlyClassWriter(org.objectweb.asm.ClassReader arg0, int arg1, ClassLoader loader)
public OSGiFriendlyClassWriter(int arg0, ClassLoader loader)
Method Detail |
---|
protected final String getCommonSuperClass(String arg0, String arg1)
getCommonSuperClass
in class org.objectweb.asm.ClassWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |