abc.weaving.matching
Class AbcSJPInfo
java.lang.Object
abc.weaving.matching.AbcSJPInfo
- All Implemented Interfaces:
- SJPInfo
- Direct Known Subclasses:
- ExtendedSJPInfo
public class AbcSJPInfo
- extends java.lang.Object
- implements SJPInfo
An internal representation of the information needed to construct
thisJoinPointStaticPart at runtime, plus some helper methods for
generating the information.
- Author:
- Ganesh Sittampalam, Laurie Hendren, Ondrej Lhotak
Constructor Summary |
AbcSJPInfo(java.lang.String kind,
java.lang.String signatureTypeClass,
java.lang.String signatureType,
java.lang.String signature,
Host host)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fc
protected SootClass fc
kind
protected java.lang.String kind
signatureTypeClass
protected java.lang.String signatureTypeClass
signatureType
protected java.lang.String signatureType
signature
protected java.lang.String signature
row
protected int row
col
protected int col
sjpfield
protected SootField sjpfield
- the SootField corresponding to a static join point
sc
protected SootClass sc
units
protected Chain units
ip
protected Stmt ip
lg
protected LocalGenerator lg
method
protected SootMethod method
factory_local
protected Local factory_local
sjpcount
protected int sjpcount
sigloc
protected Local sigloc
sjploc
protected Local sjploc
AbcSJPInfo
public AbcSJPInfo(java.lang.String kind,
java.lang.String signatureTypeClass,
java.lang.String signatureType,
java.lang.String signature,
Host host)
sjpfield
public SootField sjpfield()
- Specified by:
sjpfield
in interface SJPInfo
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getTypeString
protected static java.lang.String getTypeString(Type type)
makeMethodSigData
protected static java.lang.String makeMethodSigData(SootMethod method)
makeAdviceSigData
protected static java.lang.String makeAdviceSigData(SootMethod method)
makeInitializationSigData
protected static java.lang.String makeInitializationSigData(SootClass intrface)
makeConstructorSigData
protected static java.lang.String makeConstructorSigData(SootMethod method)
makeStaticInitializerSigData
protected static java.lang.String makeStaticInitializerSigData(SootMethod method)
makeHandlerSigData
protected static java.lang.String makeHandlerSigData(SootMethod container,
SootClass sootexc,
Stmt stmt)
makeFieldSigData
protected static java.lang.String makeFieldSigData(SootField field)
createField
protected SootField createField()
initializeField
protected void initializeField()
createSJPObject
public void createSJPObject()
assignObject
protected void assignObject()
makeSJPfield
public void makeSJPfield(SootClass sc,
Chain units,
Stmt ip,
LocalGenerator lg,
SootMethod method,
Local factory_local,
int sjpcount)
- Specified by:
makeSJPfield
in interface SJPInfo