abc.aspectj.ast
Class ConstructorPattern_c

java.lang.Object
  extended by Node_c
      extended by abc.aspectj.ast.ConstructorPattern_c
All Implemented Interfaces:
ConstructorPattern, MethodConstructorPattern

public class ConstructorPattern_c
extends Node_c
implements ConstructorPattern

patterns to capture constructor joinpoints.

Author:
Oege de Moor, Aske Simon Christensen

Constructor Summary
ConstructorPattern_c(Position pos, java.util.List modifiers, ClassTypeDotNew name, java.util.List formals, java.util.List throwspats)
           
 
Method Summary
 boolean canMatchEmptyArgumentList()
           
 boolean equivalent(ConstructorPattern p)
           
 java.util.List getFormals()
           
 java.util.List getModifiers()
           
 ClassTypeDotNew getName()
           
 java.util.List getThrowspats()
           
 ConstructorPattern makeAIConstructorPattern()
           
 void prettyPrint(CodeWriter w, PrettyPrinter tr)
           
protected  ConstructorPattern_c reconstruct(java.util.List modifiers, ClassTypeDotNew name, java.util.List formals, java.util.List throwspats)
           
 java.lang.String toString()
           
 Node visitChildren(NodeVisitor v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstructorPattern_c

public ConstructorPattern_c(Position pos,
                            java.util.List modifiers,
                            ClassTypeDotNew name,
                            java.util.List formals,
                            java.util.List throwspats)
Method Detail

reconstruct

protected ConstructorPattern_c reconstruct(java.util.List modifiers,
                                           ClassTypeDotNew name,
                                           java.util.List formals,
                                           java.util.List throwspats)

visitChildren

public Node visitChildren(NodeVisitor v)

prettyPrint

public void prettyPrint(CodeWriter w,
                        PrettyPrinter tr)

toString

public java.lang.String toString()

getModifiers

public java.util.List getModifiers()
Specified by:
getModifiers in interface ConstructorPattern

getName

public ClassTypeDotNew getName()
Specified by:
getName in interface ConstructorPattern

getFormals

public java.util.List getFormals()
Specified by:
getFormals in interface ConstructorPattern

getThrowspats

public java.util.List getThrowspats()
Specified by:
getThrowspats in interface ConstructorPattern

makeAIConstructorPattern

public ConstructorPattern makeAIConstructorPattern()
Specified by:
makeAIConstructorPattern in interface ConstructorPattern

equivalent

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

canMatchEmptyArgumentList

public boolean canMatchEmptyArgumentList()
Specified by:
canMatchEmptyArgumentList in interface ConstructorPattern