abc.aspectj.ast
Class AdviceSpec_c
java.lang.Object
Node_c
abc.aspectj.ast.AdviceSpec_c
- All Implemented Interfaces:
- AdviceSpec
- Direct Known Subclasses:
- After_c, AfterReturning_c, AfterThrowing_c, Around_c, Before_c
public abstract class AdviceSpec_c
- extends Node_c
- implements AdviceSpec
An advice specification states the kind of advice and the formals.
- Author:
- Oege de Moor, Aske Simon Christensen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formals
protected java.util.List formals
returnType
protected TypeNode returnType
returnVal
protected AdviceFormal returnVal
AdviceSpec_c
public AdviceSpec_c(Position pos,
java.util.List formals,
TypeNode returnType,
AdviceFormal returnVal)
reconstruct
protected AdviceSpec_c reconstruct(java.util.List formals,
TypeNode returnType,
AdviceFormal returnVal)
visitChildren
public Node visitChildren(NodeVisitor v)
formals
public java.util.List formals()
- Specified by:
formals
in interface AdviceSpec
returnType
public TypeNode returnType()
- Specified by:
returnType
in interface AdviceSpec
returnVal
public AdviceFormal returnVal()
- Specified by:
returnVal
in interface AdviceSpec
setReturnType
public void setReturnType(TypeNode rt)
- Specified by:
setReturnType
in interface AdviceSpec
setReturnVal
public void setReturnVal(AdviceFormal rv)
- Specified by:
setReturnVal
in interface AdviceSpec