|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RANodeFactory
Node factory for relational aspects extension.
| Method Summary | |
|---|---|
SymbolDecl |
AdviceSymbolDeclaration(Position pos,
java.lang.String name,
SymbolKind kind,
Pointcut pc,
boolean giveWarning)
Generates a special SymbolDecl that gives the warning that the advice never matches, in case
the synbol never matches. |
SymbolDecl |
AssociateSymbolDecl(Position pos,
java.lang.String name,
java.lang.String tracematch_name,
boolean bindAspectInstanceInReturn,
RelAspectDecl container)
Returns an associate-symbol declaration. |
AdviceDecl |
CustomWarningPerSymbolAdviceDecl(Position position,
Flags none,
AdviceSpec spec,
java.util.List tlist,
Pointcut pc,
Block body,
java.lang.String tm_id,
SymbolDecl sym,
Position tm_pos,
int warningType)
Returns an advice declaration which issues custom warnings in case it never matches. |
RelAspectDecl |
RelAspectDecl(Position pos,
boolean is_privileged,
Flags flags,
java.lang.String name,
TypeNode superClass,
java.util.List interfaces,
java.util.List formals,
AspectBody body)
Returns a new relational aspect declaration. |
RelationalAround |
RelationalAround(Position pos,
TypeNode returnType,
java.util.List formals,
java.util.List proceedIdentifiers)
Creates a relational around advice. |
SymbolDecl |
ReleaseSymbolDecl(Position pos,
java.lang.String name,
java.lang.String tracematch_name,
RelAspectDecl container)
Returns a release-symbol declaration. |
SymbolDecl |
StartSymbolDecl(Position pos,
java.lang.String name)
Returns a symbol representing program start. |
| Methods inherited from interface abc.tm.ast.TMNodeFactory |
|---|
AfterReturningSymbol, AfterReturningSymbol, AfterSymbol, AfterThrowingSymbol, AfterThrowingSymbol, AroundSymbol, BeforeSymbol, ClosedPointcut, PerEventAdviceDecl, PerSymbolAdviceDecl, RegexAlternation, RegexConjunction, RegexCount, RegexPlus, RegexSkipSeq, RegexStar, RegexSymbol, SymbolDecl, TMDecl, TMModsAndType |
| Methods inherited from interface abc.eaj.ast.EAJNodeFactory |
|---|
GlobalPointcutDecl, PCArrayGet, PCArraySet, PCCast, PCCflowBelowDepth, PCCflowDepth, PCContains, PCLet, PCLocalVars, PCLock, PCThrow, PCUnlock |
| Method Detail |
|---|
RelAspectDecl RelAspectDecl(Position pos,
boolean is_privileged,
Flags flags,
java.lang.String name,
TypeNode superClass,
java.util.List interfaces,
java.util.List formals,
AspectBody body)
formals - relational aspect formalsAJNodeFactory.AspectDecl(Position, boolean, Flags, String, TypeNode, List, abc.aspectj.ast.PerClause, AspectBody)
SymbolDecl AssociateSymbolDecl(Position pos,
java.lang.String name,
java.lang.String tracematch_name,
boolean bindAspectInstanceInReturn,
RelAspectDecl container)
pos - position in codename - name of the symbol, should most often be associatetracematch_name - name of surrounding tracematchbindAspectInstanceInReturn - is true, the newly created advice instance is boudn via after-returningcontainer - declaration of containing relational aspect
SymbolDecl ReleaseSymbolDecl(Position pos,
java.lang.String name,
java.lang.String tracematch_name,
RelAspectDecl container)
pos - position in codename - name of the symbol, should most often be releasetracematch_name - name of surrounding tracematchcontainer - declaration of containing relational aspect
SymbolDecl StartSymbolDecl(Position pos,
java.lang.String name)
before execution(* *.main(String[])).
pos - position in the codename - name of the symbol
AdviceDecl CustomWarningPerSymbolAdviceDecl(Position position,
Flags none,
AdviceSpec spec,
java.util.List tlist,
Pointcut pc,
Block body,
java.lang.String tm_id,
SymbolDecl sym,
Position tm_pos,
int warningType)
warningType - see CustomWarningPerSymbolAdviceDeclAJNodeFactory.AdviceDecl(Position, Flags, AdviceSpec, List, Pointcut, Block)
SymbolDecl AdviceSymbolDeclaration(Position pos,
java.lang.String name,
SymbolKind kind,
Pointcut pc,
boolean giveWarning)
SymbolDecl that gives the warning that the advice never matches, in case
the synbol never matches.
if - true. the warning is given, if false it is notTMNodeFactory.SymbolDecl(Position, String, SymbolKind, Pointcut)
RelationalAround RelationalAround(Position pos,
TypeNode returnType,
java.util.List formals,
java.util.List proceedIdentifiers)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||