|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AJContext
Method Summary | |
---|---|
AJContext |
addITMembers(ReferenceType host)
add all the members from the intertype host that are accessible |
void |
addProceed(MethodInstance proceedInstance)
|
AspectType |
currentAspect()
Get enclosing aspect, or null |
boolean |
explicitlyStatic()
was the ITD itself declared static? |
ClassType |
findFieldScopeInHost(java.lang.String name)
if varInHost(name), find the class that introduced the field by name (this can be an outer class of the host. |
ClassType |
findMethodScopeInHost(java.lang.String name)
if methodInHost(name), find the class that introduced it (this can be an outer class of the host. |
ClassType |
findPointcutScope(java.lang.String name)
find the class that introduced a pointcut by the given name |
java.util.Collection |
getCflowMustBind()
get the names of variables that are bound in the smallest enclosing cflow |
ClassType |
hostClass()
|
boolean |
inAdvice()
|
boolean |
inCflow()
inside a cflow? |
boolean |
inDeclare()
are we in a declare decl? |
boolean |
inIf()
inside an if pointcut? |
boolean |
inInterType()
in scope of an intertype decl? |
boolean |
methodInHost(java.lang.String name)
was a method by this name introduced via the host? |
boolean |
nested()
inner class inside intertype decl? |
MethodInstance |
proceedInstance()
|
AJContext |
pushAdvice(boolean isAround)
|
Context |
pushAspect(AspectType ct)
|
AJContext |
pushCflow(java.util.Collection mustBind)
mark entry of cflow pointcut expr |
AJContext |
pushDeclare()
enter a declare warning/error declaration |
Context |
pushHost(ClassType ct,
boolean declaredStatic)
enter an intertype decl |
AJContext |
pushIf()
mark entry of if pointcut expr |
boolean |
varInHost(java.lang.String name)
was a field of this name introduced via the host? |
Method Detail |
---|
ClassType hostClass()
Context pushAspect(AspectType ct)
Context pushHost(ClassType ct, boolean declaredStatic)
boolean inInterType()
boolean varInHost(java.lang.String name)
boolean methodInHost(java.lang.String name)
ClassType findFieldScopeInHost(java.lang.String name)
ClassType findMethodScopeInHost(java.lang.String name) throws SemanticException
SemanticException
boolean nested()
AJContext addITMembers(ReferenceType host)
boolean explicitlyStatic()
AJContext pushAdvice(boolean isAround)
void addProceed(MethodInstance proceedInstance)
MethodInstance proceedInstance()
boolean inAdvice()
AJContext pushDeclare()
boolean inDeclare()
AspectType currentAspect()
ClassType findPointcutScope(java.lang.String name) throws SemanticException
SemanticException
AJContext pushCflow(java.util.Collection mustBind)
AJContext pushIf()
boolean inCflow()
java.util.Collection getCflowMustBind()
boolean inIf()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |