abc.aspectj.ast
Class DeclareError_c

java.lang.Object
  extended by Term_c
      extended by abc.aspectj.ast.DeclareDecl_c
          extended by abc.aspectj.ast.DeclareError_c
All Implemented Interfaces:
DeclareDecl, DeclareError, ContainsAspectInfo

public class DeclareError_c
extends DeclareDecl_c
implements DeclareError, ContainsAspectInfo

declare error : pointcut : message

Author:
Oege de Moor, Aske Simon Christensen

Constructor Summary
DeclareError_c(Position pos, Pointcut pc, java.lang.String text)
           
 
Method Summary
 void prettyPrint(CodeWriter w, PrettyPrinter tr)
           
protected  DeclareError_c reconstruct(Pointcut pc)
           
 void update(GlobalAspectInfo gai, Aspect current_aspect)
          Called by the AspectInfoHarvester to tell the node to put all relevant information into the GlobalAspectInfo.
 Node visitChildren(NodeVisitor v)
           
 
Methods inherited from class abc.aspectj.ast.DeclareDecl_c
acceptCFG, enterScope, entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclareError_c

public DeclareError_c(Position pos,
                      Pointcut pc,
                      java.lang.String text)
Method Detail

reconstruct

protected DeclareError_c reconstruct(Pointcut pc)

visitChildren

public Node visitChildren(NodeVisitor v)

prettyPrint

public void prettyPrint(CodeWriter w,
                        PrettyPrinter tr)

update

public void update(GlobalAspectInfo gai,
                   Aspect current_aspect)
Description copied from interface: ContainsAspectInfo
Called by the AspectInfoHarvester to tell the node to put all relevant information into the GlobalAspectInfo.

Specified by:
update in interface ContainsAspectInfo
Parameters:
gai - the target of the information.
current_aspect - the aspect currently being traversed.