abc.ra.ast
Class AdviceSymbolDeclaration_c
java.lang.Object
Node_c
abc.tm.ast.SymbolDecl_c
abc.ra.ast.AdviceSymbolDeclaration_c
- All Implemented Interfaces:
- SymbolDecl
public class AdviceSymbolDeclaration_c
- extends SymbolDecl_c
Symbol declaraton of a symbol generated from an advice.
If this symbol never matches, it gives a warning that the advice (instead of symbol) never matches.
- Author:
- Eric Bodden
| Methods inherited from class abc.tm.ast.SymbolDecl_c |
aroundVars, binds, body, enterScope, generateClosedPointcut, getPointcut, getSymbolKind, kind, name, reconstruct, typeCheck, visitChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
giveWarning
protected final boolean giveWarning
AdviceSymbolDeclaration_c
public AdviceSymbolDeclaration_c(Position pos,
java.lang.String name,
SymbolKind kind,
Pointcut pc,
boolean giveWarning)
- Parameters:
giveWarning - if true, the warning is given, if false not
generateSymbolAdvice
public AdviceDecl generateSymbolAdvice(TMNodeFactory nf,
java.util.List formals,
TypeNode voidn,
java.lang.String tm_id,
Position tm_pos)
- Specified by:
generateSymbolAdvice in interface SymbolDecl- Overrides:
generateSymbolAdvice in class SymbolDecl_c