Examples of invoke_virtual()


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

/* 108 */     Type[] exceptions = TypeUtils.getTypes(m.getExceptionTypes());
/* 109 */     CodeEmitter e = super.begin_method(1, sig, exceptions, null);
/* 110 */     e.load_this();
/* 111 */     e.getfield("$CGLIB_DELEGATE");
/* 112 */     e.load_args();
/* 113 */     e.invoke_virtual(this.delegateType, sig);
/* 114 */     e.return_value();
/* 115 */     e.end_method();
/*     */   }
/*     */ }

View Full Code Here

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

/*     */
/*     */   public void generateFindProxy(ClassEmitter ce, Map sigMap) {
/* 174 */     CodeEmitter e = ce.begin_method(9, FIND_PROXY, null, null);
/*     */
/* 178 */     e.load_arg(0);
/* 179 */     e.invoke_virtual(Constants.TYPE_OBJECT, TO_STRING);
/* 180 */     ObjectSwitchCallback callback = new ObjectSwitchCallback(e, sigMap) {
/*     */       public void processCase(Object key, Label end) {
/* 182 */         this.val$e.getfield((String)this.val$sigMap.get(key));
/* 183 */         this.val$e.return_value();
/*     */       }
View Full Code Here

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

/*     */       public Object transform(Object obj) {
/* 115 */         return ReflectUtils.getSignature((Method)obj).toString();
/*     */       }
/*     */     });
/* 118 */     e.load_arg(0);
/* 119 */     e.invoke_virtual(Constants.TYPE_OBJECT, TO_STRING);
/* 120 */     signatureSwitchHelper(e, signatures);
/* 121 */     e.end_method();
/*     */   }
/*     */
/*     */   private void emitIndexByClassArray(List methods)
View Full Code Here

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

/*      */   private void emitSetThreadCallbacks(ClassEmitter ce) {
/*  957 */     CodeEmitter e = ce.begin_method(9, SET_THREAD_CALLBACKS, null, null);
/*      */
/*  961 */     e.getfield("CGLIB$THREAD_CALLBACKS");
/*  962 */     e.load_arg(0);
/*  963 */     e.invoke_virtual(THREAD_LOCAL, THREAD_LOCAL_SET);
/*  964 */     e.return_value();
/*  965 */     e.end_method();
/*      */   }
/*      */
/*      */   private void emitSetStaticCallbacks(ClassEmitter ce) {
View Full Code Here

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

/* 1007 */     e.load_local(me);
/* 1008 */     e.push(1);
/* 1009 */     e.putfield("CGLIB$BOUND");
/*      */
/* 1011 */     e.getfield("CGLIB$THREAD_CALLBACKS");
/* 1012 */     e.invoke_virtual(THREAD_LOCAL, THREAD_LOCAL_GET);
/* 1013 */     e.dup();
/* 1014 */     Label found_callback = e.make_label();
/* 1015 */     e.ifnonnull(found_callback);
/* 1016 */     e.pop();
/*      */
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.