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 ParserConfig(ASMDeserializerFactory asmFactory) { this(asmFactory, null); }
public ParserConfig(ASMDeserializerFactory asmFactory){ this(asmFactory, null); }
public ParserConfig() { this(ASMDeserializerFactory.getInstance()); }
public ParserConfig(ClassLoader parentClassLoader){ this(new ASMDeserializerFactory(parentClassLoader)); }