abc.eaj.weaving.matching
Class CastShadowMatch

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

public class CastShadowMatch
extends StmtShadowMatch

The result of matching at a cast

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
 Type getCastType()
           
 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 CastShadowMatch matchesAt(MethodPosition pos)
           
static ShadowType shadowType()
           
 
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, supportsAround, 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()

getCastType

public Type getCastType()

matchesAt

public static CastShadowMatch 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

inline

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