soot.jimple.spark.fieldrw
Class FieldTagAggregator

java.lang.Object
  extended by soot.Transformer
      extended by soot.BodyTransformer
          extended by soot.tagkit.TagAggregator
              extended by soot.jimple.spark.fieldrw.FieldTagAggregator

public class FieldTagAggregator
extends TagAggregator


Field Summary
 
Fields inherited from class soot.tagkit.TagAggregator
tags, units
 
Constructor Summary
FieldTagAggregator(Singletons.Global g)
           
 
Method Summary
 String aggregatedName()
          Return name of the resulting aggregated tag.
 void considerTag(Tag t, Unit u)
          Aggregate the given tag assigned to the given unit
protected  void internalTransform(Body b, String phaseName, Map options)
          This method is called to perform the transformation itself.
static FieldTagAggregator v()
           
 boolean wantTag(Tag t)
          Decide whether this tag should be aggregated by this aggregator.
 
Methods inherited from class soot.tagkit.TagAggregator
fini
 
Methods inherited from class soot.BodyTransformer
transform, transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldTagAggregator

public FieldTagAggregator(Singletons.Global g)
Method Detail

v

public static FieldTagAggregator v()

internalTransform

protected void internalTransform(Body b,
                                 String phaseName,
                                 Map options)
Description copied from class: BodyTransformer
This method is called to perform the transformation itself. It is declared abstract; subclasses must implement this method by making it the entry point to their actual Body transformation.

Overrides:
internalTransform in class TagAggregator
Parameters:
b - the body on which to apply the transformation
phaseName - the phasename for this transform; not typically used by implementations.
options - the actual computed options; a combination of default options and Scene specified options.

wantTag

public boolean wantTag(Tag t)
Decide whether this tag should be aggregated by this aggregator.

Specified by:
wantTag in class TagAggregator

considerTag

public void considerTag(Tag t,
                        Unit u)
Description copied from class: TagAggregator
Aggregate the given tag assigned to the given unit

Specified by:
considerTag in class TagAggregator

aggregatedName

public String aggregatedName()
Description copied from class: TagAggregator
Return name of the resulting aggregated tag.

Specified by:
aggregatedName in class TagAggregator