abc.aspectj.ast
Class MethodPattern_c

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

public class MethodPattern_c
extends Node_c
implements MethodPattern

Author:
Oege de Moor, Aske Simon Christensen

Constructor Summary
MethodPattern_c(Position pos, java.util.List modifiers, TypePatternExpr type, ClassTypeDotId name, java.util.List formals, java.util.List throwspats)
           
 
Method Summary
 boolean equivalent(MethodPattern p)
           
 java.util.List getFormals()
           
 java.util.List getModifiers()
           
 ClassTypeDotId getName()
           
 java.util.List getThrowspats()
           
 TypePatternExpr getType()
           
 MethodPattern makeAIMethodPattern()
           
 void prettyPrint(CodeWriter w, PrettyPrinter tr)
           
protected  MethodPattern_c reconstruct(java.util.List modifiers, TypePatternExpr type, ClassTypeDotId 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

MethodPattern_c

public MethodPattern_c(Position pos,
                       java.util.List modifiers,
                       TypePatternExpr type,
                       ClassTypeDotId name,
                       java.util.List formals,
                       java.util.List throwspats)
Method Detail

getModifiers

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

getType

public TypePatternExpr getType()
Specified by:
getType in interface MethodPattern

getName

public ClassTypeDotId getName()
Specified by:
getName in interface MethodPattern

getFormals

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

getThrowspats

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

reconstruct

protected MethodPattern_c reconstruct(java.util.List modifiers,
                                      TypePatternExpr type,
                                      ClassTypeDotId 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()

makeAIMethodPattern

public MethodPattern makeAIMethodPattern()
Specified by:
makeAIMethodPattern in interface MethodPattern

equivalent

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