Package com.jd.glowworm.asm

Examples of com.jd.glowworm.asm.ASMException


                if (actualTypeArgument instanceof Class) {
                    Class<?> itemClass = (Class<?>) actualTypeArgument;

                    if (!Modifier.isPublic(itemClass.getModifiers())) {
                        throw new ASMException("can not create ASMParser");
                    }

                    /*if (itemClass == String.class) {
                        mw.visitLdcInsn(com.jd.glowworm.asm.Type.getType(getDesc(fieldClass))); // cast
                        mw.visitMethodInsn(INVOKEVIRTUAL, getType(PBDeserializer.class), "scanFieldStringList",
                                           "([Ljava/lang/Class;)" + getDesc(Collection.class));
                        mw.visitVarInsn(ASTORE, context.var(fieldInfo.getName() + "_asm"));
                    } else {*/
                        _deserialze_list_obj(context, mw, fieldInfo, fieldClass, itemClass);

                        /*if (i == size - 1) {
                            _deserialize_endCheck(context, mw, reset_);
                        }*/
                        continue;
                    //}
                } else {
                    throw new ASMException("can not create ASMParser");
                }

            } else {
                _deserialze_obj(context, mw, fieldInfo, fieldClass);

View Full Code Here

TOP

Related Classes of com.jd.glowworm.asm.ASMException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.