public ClassAdapter create(final ClassVisitor visitor, final ClassLoader loader) { try { String tcClassLocation = "jar:" + bundle.getLocation() + "!/" + ByteCodeUtil.classNameToFileName(tcClassNameDots); ClassReader tcCR = new ClassReader(new URL(tcClassLocation).openStream()); ClassNode tcCN = new ClassNode(); tcCR.accept(tcCN, ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES); AsmClassInfo.getClassInfo(jClassNameDots, loader); ClassVisitor cv = new SerialVersionUIDAdder(new MergeTCToJavaClassAdapter(visitor, (TransparencyClassAdapter) visitor, jClassNameDots, tcClassNameDots, tcCN, new HashMap())); return new CacheManagerAdapter(cv); } catch (Exception e) { throw new RuntimeException(e); } }
public ClassAdapter create(final ClassVisitor visitor, final ClassLoader loader) { try { String tcClassLocation = "jar:" + bundle.getLocation() + "!/" + ByteCodeUtil.classNameToFileName(tcClassNameDots); ClassReader tcCR = new ClassReader(new URL(tcClassLocation).openStream()); ClassNode tcCN = new ClassNode(); tcCR.accept(tcCN, ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES); AsmClassInfo.getClassInfo(jClassNameDots, loader); ClassVisitor cv = new SerialVersionUIDAdder(new MergeTCToJavaClassAdapter(visitor, (TransparencyClassAdapter) visitor, jClassNameDots, tcClassNameDots, tcCN, new HashMap())); return new CacheManagerAdapter(cv); } catch (Exception e) { throw new RuntimeException(e); } }
ClassVisitor cv = new SerialVersionUIDAdder(new MergeTCToJavaClassAdapter( visitor, (TransparencyClassAdapter)visitor, jClassNameDots, tcClassNameDots, tcCN,