|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoot.Transformer
soot.BodyTransformer
soot.tagkit.TagAggregator
public abstract class TagAggregator
Interface to aggregate tags of units.
Field Summary | |
---|---|
protected LinkedList<Tag> |
tags
|
protected LinkedList<Unit> |
units
|
Constructor Summary | |
---|---|
TagAggregator()
|
Method Summary | |
---|---|
abstract String |
aggregatedName()
Return name of the resulting aggregated tag. |
abstract void |
considerTag(Tag t,
Unit u)
Aggregate the given tag assigned to the given unit |
void |
fini()
Called after all tags for a method have been aggregated. |
protected void |
internalTransform(Body b,
String phaseName,
Map options)
This method is called to perform the transformation itself. |
abstract boolean |
wantTag(Tag t)
Decide whether this tag should be aggregated by this aggregator. |
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 |
Field Detail |
---|
protected LinkedList<Tag> tags
protected LinkedList<Unit> units
Constructor Detail |
---|
public TagAggregator()
Method Detail |
---|
public abstract boolean wantTag(Tag t)
public abstract void considerTag(Tag t, Unit u)
public abstract String aggregatedName()
protected void internalTransform(Body b, String phaseName, Map options)
BodyTransformer
internalTransform
in class BodyTransformer
b
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.options
- the actual computed options; a combination of default options and Scene specified options.public void fini()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |