Package org.jboss.aop.pointcut.ast

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


      return Boolean.FALSE;
   }

   public Object visit(ASTConstructor node, Object data)
   {
      ClassExpression classExpression = node.getClazz();
      return matchClass(classExpression);
   }
View Full Code Here


   }

  
   public Object visit(ASTField node, Object data)
   {
      ClassExpression classExpression = node.getClazz();
      return matchClass(classExpression);
   }
View Full Code Here

         throw new RuntimeException("Should not use both classString and typeExpression");
      }
     
      if (classString != null)
      {
         this.classes = new ClassExpression(classString);
      }
      else if (typeExpression != null)
      {
         this.ast = new TypeExpressionParser(new StringReader(typeExpression)).Start();
      }
View Full Code Here

      this.ignore.addAll(ignore);
      ignoreExpressions = new ClassExpression[ignore.size()];
      for (int i = 0 ; i < ignore.size() ; i++)
      {
        String ex = (String)ignore.get(i);
        ignoreExpressions[i] = new ClassExpression(ex);
      }
   }
View Full Code Here

  
   public InterfaceIntroduction(String name, String exp, String[] interfaces)
   {
      this.name = name;
      this.interfaces = interfaces;
      this.classExpr = new ClassExpression(exp);
   }
View Full Code Here

      this.constructorMethod = constructorMethod;
   }

   public void setClassExpression(String exp)
   {
      this.classExpr = new ClassExpression(exp);
   }
View Full Code Here

   }

   public Object visit(ASTAll node, Object data)
   {
      Boolean matches = Boolean.FALSE;
      ClassExpression expr = node.getClazz();
     
      if (ctMethod != null)
      {
         return classMatchesAll(expr);
      }
View Full Code Here

      else if (node.getMethodIdentifier().isImplements() || node.getMethodIdentifier().isImplementing())
      {
         try
         {
            boolean exactSuper = node.getMethodIdentifier().isImplements(); //Implementing will check all super classes
            ClassExpression implemented = node.getMethodIdentifier().getImplementsExpression();
            if (ctMethod != null)
            {
               if (Util.methodExistsInSuperClassOrInterface(ctMethod, implemented, exactSuper))
               {
                  return true;
View Full Code Here

TOP

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

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.