|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.expression.ExpressionContext
public class ExpressionContext
The expression context for AST evaluation.
Field Summary | |
---|---|
static int |
CLASS_INFO
|
static int |
CONSTRUCTOR_INFO
|
static int |
FIELD_INFO
|
static int |
INFO_NOT_AVAILABLE
|
gnu.trove.TObjectIntHashMap |
m_exprIndexToTargetIndex
Expression to advised target (method / ctor) argument index map. |
String |
m_targetBoundedName
The variable name corresponding to the target(..) designator, or null if nothing is bound (target( |
boolean |
m_targetWithRuntimeCheck
Set to true when we encounter a poincut using target(..) and when match cannot be done without a runtime check with instance of. |
String |
m_thisBoundedName
The variable name corresponding to the this(..) designator, or null if nothing is bound (this( |
static int |
METHOD_INFO
|
Constructor Summary | |
---|---|
ExpressionContext(PointcutType pointcutType,
ReflectionInfo reflectionInfo,
ReflectionInfo withinReflectionInfo)
Creates a new expression context. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
boolean |
getCflowEvaluation()
|
int |
getCurrentTargetArgsIndex()
|
PointcutType |
getPointcutType()
|
ReflectionInfo |
getReflectionInfo()
|
ReflectionInfo |
getWithinReflectionInfo()
|
boolean |
hasBeenVisitingCflow()
|
boolean |
hasCallPointcut()
|
boolean |
hasClassInfo()
|
boolean |
hasConstructorInfo()
|
boolean |
hasExecutionPointcut()
|
boolean |
hasFieldInfo()
|
boolean |
hasGetPointcut()
|
boolean |
hasHandlerPointcut()
|
int |
hashCode()
|
boolean |
hasMethodInfo()
|
boolean |
hasReflectionInfo()
|
boolean |
hasSetPointcut()
|
boolean |
hasStaticInitializationPointcut()
|
boolean |
hasWithinPointcut()
|
boolean |
hasWithinReflectionInfo()
|
boolean |
inCflowSubAST()
|
void |
resetRuntimeState()
|
void |
setCflowEvaluation(boolean cflowEvaluation)
|
void |
setCurrentTargetArgsIndex(int argsIndex)
|
void |
setHasBeenVisitingCflow(boolean hasBeenVisitingCflow)
|
void |
setInCflowSubAST(boolean inCflowAST)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INFO_NOT_AVAILABLE
public static final int METHOD_INFO
public static final int CONSTRUCTOR_INFO
public static final int FIELD_INFO
public static final int CLASS_INFO
public gnu.trove.TObjectIntHashMap m_exprIndexToTargetIndex
public String m_thisBoundedName
public String m_targetBoundedName
public boolean m_targetWithRuntimeCheck
Constructor Detail |
---|
public ExpressionContext(PointcutType pointcutType, ReflectionInfo reflectionInfo, ReflectionInfo withinReflectionInfo)
pointcutType
- reflectionInfo
- - can be null f.e. with early evaluation of CALL pointcutwithinReflectionInfo
- Method Detail |
---|
public ReflectionInfo getReflectionInfo()
public ReflectionInfo getWithinReflectionInfo()
public boolean hasExecutionPointcut()
public boolean hasCallPointcut()
public boolean hasSetPointcut()
public boolean hasGetPointcut()
public boolean hasHandlerPointcut()
public boolean hasStaticInitializationPointcut()
public boolean hasWithinPointcut()
public boolean hasWithinReflectionInfo()
public boolean hasMethodInfo()
public boolean hasConstructorInfo()
public boolean hasFieldInfo()
public boolean hasClassInfo()
public boolean hasReflectionInfo()
public void setInCflowSubAST(boolean inCflowAST)
public boolean inCflowSubAST()
public void setHasBeenVisitingCflow(boolean hasBeenVisitingCflow)
public boolean hasBeenVisitingCflow()
public boolean getCflowEvaluation()
public void setCflowEvaluation(boolean cflowEvaluation)
public int getCurrentTargetArgsIndex()
public void setCurrentTargetArgsIndex(int argsIndex)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public PointcutType getPointcutType()
public void resetRuntimeState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |