org.codehaus.aspectwerkz.expression
Class ExpressionContext

java.lang.Object
  extended byorg.codehaus.aspectwerkz.expression.ExpressionContext

public class ExpressionContext
extends Object

The expression context for AST evaluation.

Author:
Jonas Bonér , Alexandre Vasseur

Field Summary
static int CLASS_INFO
           
static int CONSTRUCTOR_INFO
           
static int FIELD_INFO
           
 gnu.trove.TIntIntHashMap m_exprIndexToTargetIndex
           
static int METHOD_INFO
           
static int NOTAVAILABLE_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 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

NOTAVAILABLE_INFO

public static final int NOTAVAILABLE_INFO
See Also:
Constant Field Values

METHOD_INFO

public static final int METHOD_INFO
See Also:
Constant Field Values

CONSTRUCTOR_INFO

public static final int CONSTRUCTOR_INFO
See Also:
Constant Field Values

FIELD_INFO

public static final int FIELD_INFO
See Also:
Constant Field Values

CLASS_INFO

public static final int CLASS_INFO
See Also:
Constant Field Values

m_exprIndexToTargetIndex

public gnu.trove.TIntIntHashMap m_exprIndexToTargetIndex
Constructor Detail

ExpressionContext

public ExpressionContext(PointcutType pointcutType,
                         ReflectionInfo reflectionInfo,
                         ReflectionInfo withinReflectionInfo)
Creates a new expression context.

Parameters:
pointcutType -
reflectionInfo - - can be null f.e. with early evaluation of CALL pointcut
withinReflectionInfo -
Method Detail

getReflectionInfo

public ReflectionInfo getReflectionInfo()

getWithinReflectionInfo

public ReflectionInfo getWithinReflectionInfo()

hasExecutionPointcut

public boolean hasExecutionPointcut()

hasCallPointcut

public boolean hasCallPointcut()

hasSetPointcut

public boolean hasSetPointcut()

hasGetPointcut

public boolean hasGetPointcut()

hasHandlerPointcut

public boolean hasHandlerPointcut()

hasStaticInitializationPointcut

public boolean hasStaticInitializationPointcut()

hasWithinPointcut

public boolean hasWithinPointcut()

hasWithinReflectionInfo

public boolean hasWithinReflectionInfo()

hasMethodInfo

public boolean hasMethodInfo()

hasConstructorInfo

public boolean hasConstructorInfo()

hasFieldInfo

public boolean hasFieldInfo()

hasClassInfo

public boolean hasClassInfo()

hasReflectionInfo

public boolean hasReflectionInfo()

setInCflowSubAST

public void setInCflowSubAST(boolean inCflowAST)

inCflowSubAST

public boolean inCflowSubAST()

setHasBeenVisitingCflow

public void setHasBeenVisitingCflow(boolean hasBeenVisitingCflow)

hasBeenVisitingCflow

public boolean hasBeenVisitingCflow()

getCflowEvaluation

public boolean getCflowEvaluation()

setCflowEvaluation

public void setCflowEvaluation(boolean cflowEvaluation)

getCurrentTargetArgsIndex

public int getCurrentTargetArgsIndex()

setCurrentTargetArgsIndex

public void setCurrentTargetArgsIndex(int argsIndex)

equals

public boolean equals(Object o)

hashCode

public int hashCode()

getPointcutType

public PointcutType getPointcutType()


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.