Package org.jboss.aop.pointcut.ast

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


   }

   public Object visit(ASTHas node, Object data)
   {
      if (clazz == null) return Boolean.TRUE;
      Node n = node.jjtGetChild(0);
      if (n instanceof ASTMethod)
      {
         return new Boolean(Util.has(clazz, (ASTMethod) n, advisor));
      }
      else
View Full Code Here


      }
   }

   public Object visit(ASTHas node, Object data)
   {
      Node n = node.jjtGetChild(0);
      if (n instanceof ASTMethod)
      {
         if (ctMethod != null)
         {
            return new Boolean(Util.has(ctMethod.getDeclaringClass(), (ASTMethod) n, advisor));
View Full Code Here

/*  75 */     throw new RuntimeException(e);
/*     */   }
/*     */
/*     */   public Object visit(ASTHas node, Object data)
/*     */   {
/*  81 */     Node n = node.jjtGetChild(0);
/*  82 */     if ((n instanceof ASTMethod))
/*     */     {
/*  84 */       return new Boolean(Util.has(this.calledClass, (ASTMethod)n, this.advisor));
/*     */     }
/*     */
View Full Code Here

/*  81 */     throw new RuntimeException(e);
/*     */   }
/*     */
/*     */   public Object visit(ASTHas node, Object data)
/*     */   {
/*  87 */     Node n = node.jjtGetChild(0);
/*  88 */     if ((n instanceof ASTMethod))
/*     */     {
/*  90 */       if (this.ctMethod != null)
/*     */       {
/*  92 */         return new Boolean(Util.has(this.ctMethod.getDeclaringClass(), (ASTMethod)n, this.advisor));
View Full Code Here

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

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

/* 140 */     return null;
/*     */   }
/*     */
/*     */   public Object visit(ASTHas node, Object data)
/*     */   {
/* 145 */     Node n = node.jjtGetChild(0);
/* 146 */     if (getDeclaringClass() != null)
/*     */     {
/* 148 */       CtClass clazz = getDeclaringClass();
/* 149 */       if ((n instanceof ASTMethod))
/*     */       {
View Full Code Here

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

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

/*  57 */     return node.jjtGetChild(0).jjtAccept(this, data);
/*     */   }
/*     */
/*     */   public Object visit(ASTHas node, Object data)
/*     */   {
/*  62 */     Node n = node.jjtGetChild(0);
/*  63 */     if ((n instanceof ASTMethod))
/*     */     {
/*  65 */       if (this.ctCon != null)
/*     */       {
/*  67 */         return new Boolean(Util.has(this.ctCon.getDeclaringClass(), (ASTMethod)n, this.advisor));
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.