abc.aspectj.ast
Class ThrowsPattern_c

java.lang.Object
  extended by Node_c
      extended by abc.aspectj.ast.ThrowsPattern_c
All Implemented Interfaces:
ThrowsPattern

public class ThrowsPattern_c
extends Node_c
implements ThrowsPattern

Author:
Oege de Moor, Aske Simon Christensen

Field Summary
protected  boolean positive
           
protected  ClassnamePatternExpr type
           
 
Constructor Summary
ThrowsPattern_c(Position pos, ClassnamePatternExpr type, boolean positive)
           
 
Method Summary
 boolean equivalent(ThrowsPattern p)
           
 boolean positive()
           
 void prettyPrint(CodeWriter w, PrettyPrinter tr)
           
protected  ThrowsPattern_c reconstruct(ClassnamePatternExpr type)
           
 java.lang.String toString()
           
 ClassnamePatternExpr type()
           
 Node visitChildren(NodeVisitor v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected ClassnamePatternExpr type

positive

protected boolean positive
Constructor Detail

ThrowsPattern_c

public ThrowsPattern_c(Position pos,
                       ClassnamePatternExpr type,
                       boolean positive)
Method Detail

reconstruct

protected ThrowsPattern_c reconstruct(ClassnamePatternExpr type)

visitChildren

public Node visitChildren(NodeVisitor v)

type

public ClassnamePatternExpr type()
Specified by:
type in interface ThrowsPattern

positive

public boolean positive()
Specified by:
positive in interface ThrowsPattern

prettyPrint

public void prettyPrint(CodeWriter w,
                        PrettyPrinter tr)

toString

public java.lang.String toString()

equivalent

public boolean equivalent(ThrowsPattern p)
Specified by:
equivalent in interface ThrowsPattern