public class ShadowPointsSetter
- extends java.lang.Object
The purpose of this class is to iterate over all AdviceApplication
instances and initialize their ShadowPoints.
This is done within a class, for each method/constructor body.
If more than one AdviceApplication applies to a particular joinpoint,
then only one ShadowPoints object is allocated, that is shared between
all of them.
Creating the ShadowPoints will also introduce new NOP statements that
mark the beginning and end of the joinpoint shadow. The weaver uses
these markers to see where to insert code.
- Laurie Hendren, Ondrej Lhotak, Jennifer Lhotak, Ganesh Sittampalam
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ShadowPointsSetter(java.util.Map unitBindings)
public void setShadowPointsPass1(SootClass sc)
- Set all ShadowPoints for AdviceApplications in class sc.
public void setShadowPointsPass2(SootClass sc)