abc.weaving.matching
Class AbcSJPInfo

java.lang.Object
  extended by 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

Field Summary
protected  int col
           
protected  Local factory_local
           
protected  SootClass fc
           
protected  Stmt ip
           
protected  java.lang.String kind
           
protected  LocalGenerator lg
           
protected  SootMethod method
           
protected  int row
           
protected  SootClass sc
           
protected  Local sigloc
           
protected  java.lang.String signature
           
protected  java.lang.String signatureType
           
protected  java.lang.String signatureTypeClass
           
protected  int sjpcount
           
protected  SootField sjpfield
          the SootField corresponding to a static join point
protected  Local sjploc
           
protected  Chain units
           
 
Constructor Summary
AbcSJPInfo(java.lang.String kind, java.lang.String signatureTypeClass, java.lang.String signatureType, java.lang.String signature, Host host)
           
 
Method Summary
protected  void assignObject()
           
protected  SootField createField()
           
 void createSJPObject()
           
protected static java.lang.String getTypeString(Type type)
           
protected  void initializeField()
           
protected static java.lang.String makeAdviceSigData(SootMethod method)
           
protected static java.lang.String makeConstructorSigData(SootMethod method)
           
protected static java.lang.String makeFieldSigData(SootField field)
           
protected static java.lang.String makeHandlerSigData(SootMethod container, SootClass sootexc, Stmt stmt)
           
protected static java.lang.String makeInitializationSigData(SootClass intrface)
           
protected static java.lang.String makeMethodSigData(SootMethod method)
           
 void makeSJPfield(SootClass sc, Chain units, Stmt ip, LocalGenerator lg, SootMethod method, Local factory_local, int sjpcount)
           
protected static java.lang.String makeStaticInitializerSigData(SootMethod method)
           
 SootField sjpfield()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

AbcSJPInfo

public AbcSJPInfo(java.lang.String kind,
                  java.lang.String signatureTypeClass,
                  java.lang.String signatureType,
                  java.lang.String signature,
                  Host host)
Method Detail

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