Java 类com.alibaba.fastjson.parser.deserializer.ASMDeserializerFactory 实例源码

项目:GitHub    文件:TestASM_primitive.java   
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);
    }
项目:boohee_v5.6    文件:ParserConfig.java   
public ParserConfig(ASMDeserializerFactory asmFactory) {
    this(asmFactory, null);
}
项目:uavstack    文件:ParserConfig.java   
public ParserConfig(ASMDeserializerFactory asmFactory){
    this(asmFactory, null);
}
项目:itmarry    文件:ParserConfig.java   
public ParserConfig() {
    this(ASMDeserializerFactory.getInstance());
}
项目:itmarry    文件:ParserConfig.java   
public ParserConfig(ClassLoader parentClassLoader){
    this(new ASMDeserializerFactory(parentClassLoader));
}