|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsoot.javaToJimple.jj.ast.JjNodeFactory_c
abc.aspectj.ast.AJNodeFactory_c
abc.eaj.ast.EAJNodeFactory_c
abc.tm.ast.TMNodeFactory_c
abc.ra.ast.RANodeFactory_c
public class RANodeFactory_c
Node factory for relational aspects extension.
| Constructor Summary | |
|---|---|
RANodeFactory_c()
|
|
| Method Summary | |
|---|---|
AdviceDecl |
AdviceDecl(Position pos,
Flags flags,
AdviceSpec spec,
java.util.List throwTypes,
Pointcut pc,
Block body)
Returns a RelAdviceDecl if the relational modifier is set or an AdviceDecl otherwise. |
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 flags,
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. |
TMDecl |
TMDecl(Position pos,
Position body_pos,
TMModsAndType mods_and_type,
java.lang.String tracematch_name,
java.util.List formals,
java.util.List throwTypes,
java.util.List symbols,
java.util.List freqent_symbols,
Regex regex,
Block body)
Returns a RelTMDecl if the relational modifier is set or a TMDecl otherwise. |
| Methods inherited from class abc.tm.ast.TMNodeFactory_c |
|---|
AfterReturningSymbol, AfterReturningSymbol, AfterSymbol, AfterThrowingSymbol, AfterThrowingSymbol, AroundSymbol, BeforeSymbol, ClosedPointcut, Local, PerEventAdviceDecl, PerSymbolAdviceDecl, RegexAlternation, RegexConjunction, RegexCount, RegexPlus, RegexSkipSeq, RegexStar, RegexSymbol, SymbolDecl, TMModsAndType |
| Methods inherited from class abc.eaj.ast.EAJNodeFactory_c |
|---|
GlobalPointcutDecl, PCArrayGet, PCArraySet, PCCast, PCCflowBelowDepth, PCCflowDepth, PCContains, PCLet, PCLocalVars, PCLock, PCThrow, PCUnlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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, TMModsAndType |
| Methods inherited from interface abc.eaj.ast.EAJNodeFactory |
|---|
GlobalPointcutDecl, PCArrayGet, PCArraySet, PCCast, PCCflowBelowDepth, PCCflowDepth, PCContains, PCLet, PCLocalVars, PCLock, PCThrow, PCUnlock |
| Constructor Detail |
|---|
public RANodeFactory_c()
| Method Detail |
|---|
public 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)
RelAspectDecl in interface RANodeFactoryformals - relational aspect formalsAJNodeFactory.AspectDecl(Position, boolean, Flags, String, TypeNode, List, abc.aspectj.ast.PerClause, AspectBody)
public AdviceDecl AdviceDecl(Position pos,
Flags flags,
AdviceSpec spec,
java.util.List throwTypes,
Pointcut pc,
Block body)
RelAdviceDecl if the relational modifier is set or an AdviceDecl otherwise.
AdviceDecl in interface AJNodeFactoryAdviceDecl in class EAJNodeFactory_c
public TMDecl TMDecl(Position pos,
Position body_pos,
TMModsAndType mods_and_type,
java.lang.String tracematch_name,
java.util.List formals,
java.util.List throwTypes,
java.util.List symbols,
java.util.List freqent_symbols,
Regex regex,
Block body)
RelTMDecl if the relational modifier is set or a TMDecl otherwise.
TMDecl in interface TMNodeFactoryTMDecl in class TMNodeFactory_c
public SymbolDecl AssociateSymbolDecl(Position pos,
java.lang.String name,
java.lang.String tracematch_name,
boolean bindAspectInstanceInReturn,
RelAspectDecl container)
AssociateSymbolDecl in interface RANodeFactorypos - 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
public SymbolDecl ReleaseSymbolDecl(Position pos,
java.lang.String name,
java.lang.String tracematch_name,
RelAspectDecl container)
ReleaseSymbolDecl in interface RANodeFactorypos - position in codename - name of the symbol, should most often be releasetracematch_name - name of surrounding tracematchcontainer - declaration of containing relational aspect
public SymbolDecl StartSymbolDecl(Position pos,
java.lang.String name)
before execution(* *.main(String[])).
StartSymbolDecl in interface RANodeFactorypos - position in the codename - name of the symbol
public AdviceDecl CustomWarningPerSymbolAdviceDecl(Position position,
Flags flags,
AdviceSpec spec,
java.util.List tlist,
Pointcut pc,
Block body,
java.lang.String tm_id,
SymbolDecl sym,
Position tm_pos,
int warningType)
CustomWarningPerSymbolAdviceDecl in interface RANodeFactorywarningType - see CustomWarningPerSymbolAdviceDeclAJNodeFactory.AdviceDecl(Position, Flags, AdviceSpec, List, Pointcut, Block)
public 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.
AdviceSymbolDeclaration in interface RANodeFactoryTMNodeFactory.SymbolDecl(Position, String, SymbolKind, Pointcut)
public RelationalAround RelationalAround(Position pos,
TypeNode returnType,
java.util.List formals,
java.util.List proceedIdentifiers)
RelationalAround in interface RANodeFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||