public void test_asm() throws Exception { ASMDeserializerFactory factory = new ASMDeserializerFactory(new ASMClassLoader()); Exception error = null; try { JavaBeanInfo beanInfo = JavaBeanInfo.build(int.class, int.class, null); factory.createJavaBeanDeserializer(ParserConfig.getGlobalInstance(), beanInfo); } catch (Exception ex) { error = ex; } assertNotNull(error); }
public ASMDeserializerFactory(ClassLoader parentClassLoader){ classLoader = parentClassLoader instanceof ASMClassLoader // ? (ASMClassLoader) parentClassLoader // : new ASMClassLoader(parentClassLoader); }
public ASMDeserializerFactory() { this.seed = new AtomicLong(); this.classLoader = new ASMClassLoader(); }
public ASMDeserializerFactory(ClassLoader parentClassLoader) { this.seed = new AtomicLong(); this.classLoader = new ASMClassLoader(parentClassLoader); }
public ASMDeserializerFactory(){ classLoader = new ASMClassLoader(); }
public ASMDeserializerFactory(ClassLoader parentClassLoader){ classLoader = new ASMClassLoader(parentClassLoader); }