Examples of oprand2()


Examples of javassist.compiler.ast.Expr.oprand2()

/* 280 */     if ((name instanceof Expr)) {
/* 281 */       Expr expr = (Expr)name;
/* 282 */       if (expr.getOperator() == 46) {
/* 283 */         makeCflowName(sbuf, expr.oprand1());
/* 284 */         sbuf.append('.');
/* 285 */         makeCflowName(sbuf, expr.oprand2());
/* 286 */         return;
/*     */       }
/*     */     }
/*     */
/* 290 */     throw new CompileError("bad $cflow");
View Full Code Here

Examples of javassist.compiler.ast.Expr.oprand2()

/* 1195 */     if ((name instanceof Expr)) {
/* 1196 */       Expr expr = (Expr)name;
/* 1197 */       if (expr.getOperator() == 46) {
/* 1198 */         toClassName(expr.oprand1(), sbuf);
/* 1199 */         sbuf.append('.');
/* 1200 */         toClassName(expr.oprand2(), sbuf);
/* 1201 */         return;
/*      */       }
/*      */     }
/*      */
/* 1205 */     throw new CompileError("bad static member access", this.lex);
View Full Code Here

Examples of javassist.compiler.ast.Expr.oprand2()

/*  477 */       if (((Keyword)method).get() == 336)
/*  478 */         targetClass = MemberResolver.getSuperclass(targetClass);
/*      */     }
/*  480 */     else if ((method instanceof Expr)) {
/*  481 */       Expr e = (Expr)method;
/*  482 */       mname = ((Symbol)e.oprand2()).get();
/*  483 */       int op = e.getOperator();
/*  484 */       if (op == 35) {
/*  485 */         targetClass = this.resolver.lookupClass(((Symbol)e.oprand1()).get(), false);
/*      */
/*  487 */         isStatic = true;
View Full Code Here

Examples of javassist.compiler.ast.Expr.oprand2()

/* 1032 */     if ((expr instanceof Expr)) {
/* 1033 */       Expr e = (Expr)expr;
/* 1034 */       int op = e.getOperator();
/* 1035 */       if (op == 35)
/*      */       {
/* 1040 */         CtField f = this.resolver.lookupField(((Symbol)e.oprand1()).get(), (Symbol)e.oprand2());
/*      */
/* 1042 */         this.resultStatic = true;
/* 1043 */         return f;
/*      */       }
/* 1045 */       if (op == 46) {
View Full Code Here

Examples of javassist.compiler.ast.Expr.oprand2()

/* 1046 */         CtField f = null;
/*      */         try {
/* 1048 */           e.oprand1().accept(this);
/*      */
/* 1053 */           if ((this.exprType == 307) && (this.arrayDim == 0)) {
/* 1054 */             f = this.resolver.lookupFieldByJvmName(this.className, (Symbol)e.oprand2());
/*      */           } else {
/* 1056 */             if ((acceptLength) && (this.arrayDim > 0) && (((Symbol)e.oprand2()).get().equals("length")))
/*      */             {
/* 1058 */               return null;
/*      */             }
View Full Code Here

Examples of javassist.compiler.ast.Expr.oprand2()

/* 1048 */           e.oprand1().accept(this);
/*      */
/* 1053 */           if ((this.exprType == 307) && (this.arrayDim == 0)) {
/* 1054 */             f = this.resolver.lookupFieldByJvmName(this.className, (Symbol)e.oprand2());
/*      */           } else {
/* 1056 */             if ((acceptLength) && (this.arrayDim > 0) && (((Symbol)e.oprand2()).get().equals("length")))
/*      */             {
/* 1058 */               return null;
/*      */             }
/* 1060 */             badLvalue();
/*      */           }
View Full Code Here

Examples of javassist.compiler.ast.Expr.oprand2()

/*      */         catch (NoFieldException nfe) {
/* 1070 */           if (nfe.getExpr() != e.oprand1()) {
/* 1071 */             throw nfe;
/*      */           }
/*      */
/* 1077 */           Symbol fname = (Symbol)e.oprand2();
/* 1078 */           String cname = nfe.getField();
/* 1079 */           f = this.resolver.lookupFieldByJvmName2(cname, fname, expr);
/* 1080 */           this.resolver.recordPackage(cname);
/* 1081 */           this.resultStatic = true;
/* 1082 */           return f;
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.