abc.eaj.weaving.matching
Class ThrowShadowMatch

java.lang.Object
  extended by abc.weaving.matching.ShadowMatch
      extended by abc.weaving.matching.StmtShadowMatch
          extended by abc.eaj.weaving.matching.ThrowShadowMatch

public class ThrowShadowMatch
extends StmtShadowMatch

The result of matching at a throw

Author:
Julian Tibble

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
 ContextValue getTargetContextValue()
          Return a ContextValue that represents the runtime value that is bound by a target() pointcut
 Type getThrowType()
           
 ShadowMatch inline(ConstructorInliningMap cim)
           
 java.lang.String joinpointName()
           
 SJPInfo makeSJPInfo()
          Construct the sjpInfo structure
static ThrowShadowMatch matchesAt(MethodPosition pos)
           
static ShadowType shadowType()
           
 boolean supportsAround()
          Does this shadow support around advice?
 
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, getExceptions, getReturningContextValue, getSJPInfo, recordSJPInfo, setShadowPoints, supportsAfter, supportsBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shadowType

public static ShadowType shadowType()

getThrowType

public Type getThrowType()

matchesAt

public static ThrowShadowMatch matchesAt(MethodPosition pos)

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

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

makeSJPInfo

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

Specified by:
makeSJPInfo in class ShadowMatch

joinpointName

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

supportsAround

public boolean supportsAround()
Description copied from class: ShadowMatch
Does this shadow support around advice?

Overrides:
supportsAround in class ShadowMatch

inline

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