abc.weaving.matching
Class PreinitializationShadowMatch

java.lang.Object
  extended by abc.weaving.matching.ShadowMatch
      extended by abc.weaving.matching.BodyShadowMatch
          extended by abc.weaving.matching.PreinitializationShadowMatch

public class PreinitializationShadowMatch
extends BodyShadowMatch

The results of matching at an preinitialization shadow

Author:
Ganesh Sittampalam, Ondrej Lhotak

Field Summary
 
Fields inherited from class abc.weaving.matching.ShadowMatch
container, sp
 
Method Summary
protected  AdviceApplication doAddAdviceApplication(MethodAdviceList mal, AbstractAdviceDecl ad, Residue residue)
           
 java.util.List getExceptions()
          The list of exceptions that this shadow is declared to throw
 ContextValue getThisContextValue()
          Return a ContextValue that represents the runtime value that is bound by a this() pointcut
 ShadowMatch inline(ConstructorInliningMap cim)
           
 java.lang.String joinpointName()
           
 SJPInfo makeSJPInfo()
          Construct the sjpInfo structure
static PreinitializationShadowMatch matchesAt(MethodPosition pos)
           
 boolean supportsAround()
          Does this shadow support around advice?
 
Methods inherited from class abc.weaving.matching.BodyShadowMatch
getArgsContextValues, getEnclosing, getHost, getTargetContextValue
 
Methods inherited from class abc.weaving.matching.ShadowMatch
addAdviceApplication, addIfNecessary, getContainer, 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

inline

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

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 PreinitializationShadowMatch matchesAt(MethodPosition pos)

makeSJPInfo

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

Specified by:
makeSJPInfo in class ShadowMatch

doAddAdviceApplication

protected AdviceApplication doAddAdviceApplication(MethodAdviceList mal,
                                                   AbstractAdviceDecl ad,
                                                   Residue residue)
Specified by:
doAddAdviceApplication in class ShadowMatch

getThisContextValue

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

Overrides:
getThisContextValue in class ShadowMatch

supportsAround

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

Overrides:
supportsAround in class ShadowMatch

joinpointName

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