Package org.jboss.aop.pointcut.ast

Examples of org.jboss.aop.pointcut.ast.Node


/* 100 */     return data;
/*     */   }
/*     */
/*     */   public Object visit(ASTAnd node, Object left)
/*     */   {
/* 105 */     Node andChild = node.jjtGetChild(0);
/* 106 */     boolean val = ((Boolean)left).booleanValue();
/* 107 */     return new Boolean((val) && (((Boolean)andChild.jjtAccept(this, Boolean.FALSE)).booleanValue()));
/*     */   }
View Full Code Here


/* 107 */     return new Boolean((val) && (((Boolean)andChild.jjtAccept(this, Boolean.FALSE)).booleanValue()));
/*     */   }
/*     */
/*     */   public Object visit(ASTOr node, Object left)
/*     */   {
/* 112 */     Node orChild = node.jjtGetChild(0);
/* 113 */     boolean val = ((Boolean)left).booleanValue();
/* 114 */     return new Boolean((val) || (((Boolean)orChild.jjtAccept(this, Boolean.FALSE)).booleanValue()));
/*     */   }
View Full Code Here

/* 120 */     return null;
/*     */   }
/*     */
/*     */   public Object visit(ASTHas node, Object data)
/*     */   {
/* 126 */     Node n = node.jjtGetChild(0);
/* 127 */     if ((n instanceof ASTMethod))
/*     */     {
/* 129 */       if (this.clazz != null) return new Boolean(Util.has(this.clazz, (ASTMethod)n, this.advisor));
/* 130 */       if (this.ctClass != null) return new Boolean(Util.has(this.ctClass, (ASTMethod)n, this.advisor));
/*     */     }
View Full Code Here

/*  58 */     return node.jjtGetChild(0).jjtAccept(this, data);
/*     */   }
/*     */
/*     */   public Object visit(ASTHas node, Object data)
/*     */   {
/*  63 */     Node n = node.jjtGetChild(0);
/*  64 */     if ((n instanceof ASTMethod))
/*     */     {
/*  66 */       if (this.ctCon != null)
/*     */       {
/*  68 */         return new Boolean(Util.has(this.ctCon.getDeclaringClass(), (ASTMethod)n, this.advisor));
View Full Code Here

/* 51 */     super(advisor, ctClass);
/*    */   }
/*    */
/*    */   public Object visit(ASTHas node, Object data)
/*    */   {
/* 56 */     Node n = node.jjtGetChild(0);
/* 57 */     if ((n instanceof ASTMethod))
/*    */     {
/* 59 */       boolean checkSuper = false;
/* 60 */       if (this.clazz != null) return new Boolean(Util.has(this.clazz, (ASTMethod)n, this.advisor, checkSuper));
/* 61 */       if (this.ctClass != null) return new Boolean(Util.has(this.ctClass, (ASTMethod)n, this.advisor, checkSuper));
View Full Code Here

/* 225 */     return new Boolean(Util.has(this.refField.getDeclaringClass(), f, this.advisor));
/*     */   }
/*     */
/*     */   public Object visit(ASTHas node, Object data)
/*     */   {
/* 230 */     Node n = node.jjtGetChild(0);
/* 231 */     if ((n instanceof ASTMethod))
/*     */     {
/* 233 */       if (this.ctField != null)
/*     */       {
/* 235 */         return new Boolean(Util.has(this.ctField.getDeclaringClass(), (ASTMethod)n, this.advisor));
View Full Code Here

/* 164 */     return data;
/*     */   }
/*     */
/*     */   public Object visit(ASTAnd node, Object left)
/*     */   {
/* 169 */     Node andChild = node.jjtGetChild(0);
/* 170 */     andChild.jjtAccept(this, Boolean.FALSE);
/* 171 */     return Boolean.FALSE;
/*     */   }
View Full Code Here

/* 171 */     return Boolean.FALSE;
/*     */   }
/*     */
/*     */   public Object visit(ASTOr node, Object left)
/*     */   {
/* 176 */     Node orChild = node.jjtGetChild(0);
/* 177 */     orChild.jjtAccept(this, Boolean.FALSE);
/* 178 */     return Boolean.FALSE;
/*     */   }
View Full Code Here

/*  99 */     return data;
/*     */   }
/*     */
/*     */   public Object visit(ASTAndCFlow node, Object left)
/*     */   {
/* 104 */     Node andChild = node.jjtGetChild(0);
/* 105 */     boolean val = ((Boolean)left).booleanValue();
/* 106 */     return new Boolean((val) && (((Boolean)andChild.jjtAccept(this, Boolean.FALSE)).booleanValue()));
/*     */   }
View Full Code Here

/* 106 */     return new Boolean((val) && (((Boolean)andChild.jjtAccept(this, Boolean.FALSE)).booleanValue()));
/*     */   }
/*     */
/*     */   public Object visit(ASTOrCFlow node, Object left)
/*     */   {
/* 111 */     Node orChild = node.jjtGetChild(0);
/* 112 */     boolean val = ((Boolean)left).booleanValue();
/* 113 */     return new Boolean((val) || (((Boolean)orChild.jjtAccept(this, Boolean.FALSE)).booleanValue()));
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.aop.pointcut.ast.Node

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.