Package net.sf.cglib.asm

Examples of net.sf.cglib.asm.Type


/*     */
/*     */   public void load_args(int fromArg, int count)
/*     */   {
/* 380 */     int pos = this.state.localOffset + skipArgs(fromArg);
/* 381 */     for (int i = 0; i < count; i++) {
/* 382 */       Type t = this.state.argumentTypes[(fromArg + i)];
/* 383 */       load_local(t, pos);
/* 384 */       pos += t.getSize();
/*     */     }
/*     */   }
View Full Code Here


/*     */   {
/* 704 */     if (TypeUtils.isPrimitive(type))
/* 705 */       if (type == Type.VOID_TYPE) {
/* 706 */         aconst_null();
/*     */       } else {
/* 708 */         Type boxed = TypeUtils.getBoxedType(type);
/* 709 */         new_instance(boxed);
/* 710 */         if (type.getSize() == 2)
/*     */         {
/* 712 */           dup_x2();
/* 713 */           dup_x2();
View Full Code Here

/*     */       }
/*     */   }
/*     */
/*     */   public void unbox(Type type)
/*     */   {
/* 733 */     Type t = Constants.TYPE_NUMBER;
/* 734 */     Signature sig = null;
/* 735 */     switch (type.getSort()) {
/*     */     case 0:
/* 737 */       return;
/*     */     case 2:
View Full Code Here

/*     */   }
/*     */
/*     */   public void invoke(MethodInfo method)
/*     */   {
/* 846 */     ClassInfo classInfo = method.getClassInfo();
/* 847 */     Type type = classInfo.getType();
/* 848 */     Signature sig = method.getSignature();
/* 849 */     if (sig.getName().equals("<init>"))
/* 850 */       invoke_constructor(type, sig);
/* 851 */     else if (TypeUtils.isInterface(classInfo.getModifiers()))
/* 852 */       invoke_interface(type, sig);
View Full Code Here

TOP

Related Classes of net.sf.cglib.asm.Type

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.