Package org.aspectj.ajdt.internal.compiler.ast

Examples of org.aspectj.ajdt.internal.compiler.ast.PointcutDeclaration


        AbstractMethodDeclaration amd = methods[i];
        if (amd == null || amd.ignoreFurtherInvestigation) {
          continue;
        }
        if (amd instanceof PointcutDeclaration) {
          PointcutDeclaration d = (PointcutDeclaration) amd;
          ResolvedPointcutDefinition df = d.makeResolvedPointcutDefinition(factory);
          if (df != null) {
            declaredPointcuts.add(df);
          }
        } else if (amd instanceof InterTypeDeclaration) {
          // these are handled in a separate pass
View Full Code Here


    }
    return new PseudoTokens(psts, new EclipseSourceContext(result));
  }

  public MethodDeclaration createPointcutDeclaration(CompilationResult result) {
    return new PointcutDeclaration(result);
  }
View Full Code Here

  /* (non-Javadoc)
   * @see org.eclipse.jdt.internal.compiler.parser.Parser.IDeclarationFactory#createPointcutDeclaration(org.eclipse.jdt.internal.compiler.CompilationResult)
   */
  public MethodDeclaration createPointcutDeclaration(CompilationResult result) {
    return new PointcutDeclaration(result);
  }
View Full Code Here

      node.setName(ad.kind.toString());
      node.setDetails(details);
      setParameters(methodDeclaration, node);

    } else if (methodDeclaration instanceof PointcutDeclaration) {
      PointcutDeclaration pd = (PointcutDeclaration)methodDeclaration;
      node.setKind(IProgramElement.Kind.POINTCUT);
      node.setName(translatePointcutName(new String(methodDeclaration.selector)));
      setParameters(methodDeclaration, node);
     
    } else if (methodDeclaration instanceof DeclareDeclaration) {
View Full Code Here

    if (methods != null) {
      for (int i=0, len=methods.length; i < len; i++) {
        AbstractMethodDeclaration amd = methods[i];
        if (amd == null || amd.ignoreFurtherInvestigation) continue;
        if (amd instanceof PointcutDeclaration) {
          PointcutDeclaration d = (PointcutDeclaration)amd;
          ResolvedPointcutDefinition df = d.makeResolvedPointcutDefinition(factory);
          declaredPointcuts.add(df);
        } else if (amd instanceof InterTypeDeclaration) {       
          // these are handled in a separate pass
          continue;
        } else if (amd instanceof DeclareDeclaration &&
View Full Code Here

TOP

Related Classes of org.aspectj.ajdt.internal.compiler.ast.PointcutDeclaration

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.