abc.weaving.matching
Class ClassInitializationShadowMatch

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

public class ClassInitializationShadowMatch
extends BodyShadowMatch

The results of matching at an class initialization 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
 ShadowMatch inline(ConstructorInliningMap cim)
           
 java.lang.String joinpointName()
           
 SJPInfo makeSJPInfo()
          Construct the sjpInfo structure
static ClassInitializationShadowMatch matchesAt(MethodPosition pos)
           
static ShadowType shadowType()
           
 
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, getThisContextValue, 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

shadowType

public static ShadowType shadowType()

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 ClassInitializationShadowMatch 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

joinpointName

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