Java 类com.alibaba.fastjson.util.ASMClassLoader 实例源码

项目: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);
    }
项目:GitHub    文件:ASMDeserializerFactory.java   
public ASMDeserializerFactory(ClassLoader parentClassLoader){
    classLoader = parentClassLoader instanceof ASMClassLoader //
        ? (ASMClassLoader) parentClassLoader //
        : new ASMClassLoader(parentClassLoader);
}
项目:boohee_v5.6    文件:ASMDeserializerFactory.java   
public ASMDeserializerFactory() {
    this.seed = new AtomicLong();
    this.classLoader = new ASMClassLoader();
}
项目:boohee_v5.6    文件:ASMDeserializerFactory.java   
public ASMDeserializerFactory(ClassLoader parentClassLoader) {
    this.seed = new AtomicLong();
    this.classLoader = new ASMClassLoader(parentClassLoader);
}
项目:uavstack    文件:ASMDeserializerFactory.java   
public ASMDeserializerFactory(){
    classLoader = new ASMClassLoader();
}
项目:uavstack    文件:ASMDeserializerFactory.java   
public ASMDeserializerFactory(ClassLoader parentClassLoader){
    classLoader = new ASMClassLoader(parentClassLoader);
}
项目:itmarry    文件:ASMDeserializerFactory.java   
public ASMDeserializerFactory(){
    classLoader = new ASMClassLoader();
}
项目:itmarry    文件:ASMDeserializerFactory.java   
public ASMDeserializerFactory(ClassLoader parentClassLoader){
    classLoader = new ASMClassLoader(parentClassLoader);
}