abc.weaving.matching
Class MethodCallShadowMatch

java.lang.Object
  extended by abc.weaving.matching.ShadowMatch
      extended by abc.weaving.matching.StmtShadowMatch
          extended by abc.weaving.matching.MethodCallShadowMatch

public class MethodCallShadowMatch
extends StmtShadowMatch

The results of matching at a method call shadow

Author:
Ganesh Sittampalam, Ondrej Lhotak

Field Summary
 
Fields inherited from class abc.weaving.matching.StmtShadowMatch
stmt
 
Fields inherited from class abc.weaving.matching.ShadowMatch
container, sp
 
Method Summary
 java.util.List getArgsContextValues()
          Return a list of ContextValue that represent the runtime values that could be bound by an args() pointcut
 java.util.List getExceptions()
          The list of exceptions that this shadow is declared to throw
 SootMethodRef getMethodRef()
           
 ContextValue getReturningContextValue()
          Return a ContextValue that represents the runtime value that is bound by after returning() advice
 ContextValue getTargetContextValue()
          Return a ContextValue that represents the runtime value that is bound by a target() pointcut
 ShadowMatch inline(ConstructorInliningMap cim)
           
 java.lang.String joinpointName()
           
 SJPInfo makeSJPInfo()
          Construct the sjpInfo structure
static MethodCallShadowMatch matchesAt(MethodPosition pos)
           
 
Methods inherited from class abc.weaving.matching.StmtShadowMatch
doAddAdviceApplication, getEnclosing, getHost, getStmt, getThisContextValue, makeArgumentsUniqueLocals, reset
 
Methods inherited from class abc.weaving.matching.ShadowMatch
addAdviceApplication, addIfNecessary, getContainer, getSJPInfo, recordSJPInfo, setShadowPoints, supportsAfter, supportsAround, supportsBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

inline

public ShadowMatch inline(ConstructorInliningMap cim)
Specified by:
inline in class ShadowMatch

getMethodRef

public SootMethodRef getMethodRef()

getExceptions

public java.util.List getExceptions()
Description copied from class: ShadowMatch
The list of exceptions that this shadow is declared to throw

Overrides:
getExceptions in class ShadowMatch

matchesAt

public static MethodCallShadowMatch matchesAt(MethodPosition pos)

makeSJPInfo

public SJPInfo makeSJPInfo()
Description copied from class: ShadowMatch
Construct the sjpInfo structure

Specified by:
makeSJPInfo in class ShadowMatch

getTargetContextValue

public ContextValue getTargetContextValue()
Description copied from class: ShadowMatch
Return a ContextValue that represents the runtime value that is bound by a target() pointcut

Specified by:
getTargetContextValue in class ShadowMatch

getReturningContextValue

public ContextValue getReturningContextValue()
Description copied from class: ShadowMatch
Return a ContextValue that represents the runtime value that is bound by after returning() advice

Overrides:
getReturningContextValue in class ShadowMatch

getArgsContextValues

public java.util.List getArgsContextValues()
Description copied from class: ShadowMatch
Return a list of ContextValue that represent the runtime values that could be bound by an args() pointcut

Overrides:
getArgsContextValues in class ShadowMatch

joinpointName

public java.lang.String joinpointName()
Specified by:
joinpointName in class ShadowMatch