Examples of load_arg()


Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/*    */   private void generateConstructor(Object[] arrays) {
/* 49 */     CodeEmitter e = begin_method(1, CSTRUCT_OBJECT_ARRAY, null, null);
/* 50 */     e.load_this();
/* 51 */     e.super_invoke_constructor();
/* 52 */     e.load_this();
/* 53 */     e.load_arg(0);
/* 54 */     e.super_putfield("a", Constants.TYPE_OBJECT_ARRAY);
/* 55 */     for (int i = 0; i < arrays.length; i++) {
/* 56 */       Type type = Type.getType(arrays[i].getClass());
/* 57 */       declare_field(2, getFieldName(i), type, null, null);
/* 58 */       e.load_this();
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/* 54 */     e.super_putfield("a", Constants.TYPE_OBJECT_ARRAY);
/* 55 */     for (int i = 0; i < arrays.length; i++) {
/* 56 */       Type type = Type.getType(arrays[i].getClass());
/* 57 */       declare_field(2, getFieldName(i), type, null, null);
/* 58 */       e.load_this();
/* 59 */       e.load_arg(0);
/* 60 */       e.push(i);
/* 61 */       e.aaload();
/* 62 */       e.checkcast(type);
/* 63 */       e.putfield(getFieldName(i));
/*    */     }
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/* 76 */       e.load_this();
/* 77 */       e.getfield(getFieldName(i));
/* 78 */       e.store_local(T);
/*    */
/* 80 */       e.load_local(T);
/* 81 */       e.load_arg(0);
/*    */
/* 83 */       e.load_local(T);
/* 84 */       e.load_arg(1);
/* 85 */       e.array_load(component);
/*    */
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/*    */
/* 80 */       e.load_local(T);
/* 81 */       e.load_arg(0);
/*    */
/* 83 */       e.load_local(T);
/* 84 */       e.load_arg(1);
/* 85 */       e.array_load(component);
/*    */
/* 87 */       e.load_local(T);
/* 88 */       e.load_arg(1);
/*    */
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/* 83 */       e.load_local(T);
/* 84 */       e.load_arg(1);
/* 85 */       e.array_load(component);
/*    */
/* 87 */       e.load_local(T);
/* 88 */       e.load_arg(1);
/*    */
/* 90 */       e.load_local(T);
/* 91 */       e.load_arg(0);
/* 92 */       e.array_load(component);
/*    */
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/*    */
/* 87 */       e.load_local(T);
/* 88 */       e.load_arg(1);
/*    */
/* 90 */       e.load_local(T);
/* 91 */       e.load_arg(0);
/* 92 */       e.array_load(component);
/*    */
/* 94 */       e.array_store(component);
/* 95 */       e.array_store(component);
/*    */     }
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/*  61 */       e.return_value();
/*  62 */       e.end_method();
/*     */
/*  64 */       e = super.begin_method(1, ENABLED_SET, null, null);
/*  65 */       e.load_this();
/*  66 */       e.load_arg(0);
/*  67 */       e.putfield("$CGLIB_READ_WRITE_CALLBACK");
/*  68 */       e.return_value();
/*  69 */       e.end_method();
/*     */     } else {
/*  71 */       super.begin_class(version, access, className, superType, interfaces, sourceFile);
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/* 128 */     e.invoke_interface(ENABLED, ENABLED_GET);
/* 129 */     e.load_this();
/* 130 */     e.push(name);
/* 131 */     e.load_this();
/* 132 */     e.getfield(name);
/* 133 */     e.load_arg(0);
/* 134 */     e.invoke_interface(CALLBACK, writeCallbackSig(type));
/* 135 */     if (!TypeUtils.isPrimitive(type)) {
/* 136 */       e.checkcast(type);
/*     */     }
/* 138 */     Label go = e.make_label();
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/* 136 */       e.checkcast(type);
/*     */     }
/* 138 */     Label go = e.make_label();
/* 139 */     e.goTo(go);
/* 140 */     e.mark(skip);
/* 141 */     e.load_arg(0);
/* 142 */     e.mark(go);
/* 143 */     e.putfield(name);
/* 144 */     e.return_value();
/* 145 */     e.end_method();
/*     */   }
View Full Code Here

Examples of net.sf.cglib.core.CodeEmitter.load_arg()

/*     */   }
/*     */
/*     */   private void setByIndex(String[] names, int[] indexes) throws Exception {
/* 134 */     CodeEmitter e = super.begin_method(1, PROVIDER_SET_BY_INDEX, null, null);
/* 135 */     e.load_this();
/* 136 */     e.load_arg(1);
/* 137 */     e.load_arg(0);
/* 138 */     e.process_switch(indexes, new ProcessSwitchCallback(names, e) {
/*     */       public void processCase(int key, Label end) throws Exception {
/* 140 */         Type type = (Type)FieldProviderTransformer.this.fields.get(this.val$names[key]);
/* 141 */         this.val$e.unbox(type);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.