abc.aspectj.ast
Class MethodPattern_c
java.lang.Object
Node_c
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodPattern_c
public MethodPattern_c(Position pos,
java.util.List modifiers,
TypePatternExpr type,
ClassTypeDotId name,
java.util.List formals,
java.util.List throwspats)
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