abc.weaving.matching
Class HandlerShadowMatch

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

public class HandlerShadowMatch
extends StmtShadowMatch

The results of matching at a handler 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
 AdviceApplication doAddAdviceApplication(MethodAdviceList mal, AbstractAdviceDecl ad, Residue residue)
           
 java.util.List getArgsContextValues()
          Return a list of ContextValue that represent the runtime values that could be bound by an args() pointcut
 SootClass getException()
           
 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 HandlerShadowMatch matchesAt(MethodPosition pos)
           
 boolean supportsAfter()
          Does this shadow support after advice?
 
Methods inherited from class abc.weaving.matching.StmtShadowMatch
getEnclosing, getHost, getStmt, getThisContextValue, makeArgumentsUniqueLocals, reset
 
Methods inherited from class abc.weaving.matching.ShadowMatch
addAdviceApplication, addIfNecessary, getContainer, getExceptions, getReturningContextValue, getSJPInfo, recordSJPInfo, setShadowPoints, 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

getException

public SootClass getException()

matchesAt

public static HandlerShadowMatch matchesAt(MethodPosition pos)

makeSJPInfo

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

Specified by:
makeSJPInfo in class ShadowMatch

doAddAdviceApplication

public AdviceApplication doAddAdviceApplication(MethodAdviceList mal,
                                                AbstractAdviceDecl ad,
                                                Residue residue)
Overrides:
doAddAdviceApplication in class StmtShadowMatch

supportsAfter

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

Overrides:
supportsAfter 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

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