soot.tagkit
Class FirstTagAggregator
java.lang.Object
soot.Transformer
soot.BodyTransformer
soot.tagkit.TagAggregator
soot.tagkit.FirstTagAggregator
- Direct Known Subclasses:
- LineNumberTagAggregator
public abstract class FirstTagAggregator
- extends TagAggregator
A tag aggregator that associates a tag with the first instruction
that is tagged with it.
Method Summary |
abstract String |
aggregatedName()
Return name of the resulting aggregated tag. |
void |
considerTag(Tag t,
Unit u)
Decide whether this tag should be aggregated by this aggregator. |
abstract boolean |
wantTag(Tag t)
Decide whether this tag should be aggregated by this aggregator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirstTagAggregator
public FirstTagAggregator()
wantTag
public abstract boolean wantTag(Tag t)
- Decide whether this tag should be aggregated by this aggregator.
- Specified by:
wantTag
in class TagAggregator
aggregatedName
public abstract String aggregatedName()
- Return name of the resulting aggregated tag.
- Specified by:
aggregatedName
in class TagAggregator
considerTag
public void considerTag(Tag t,
Unit u)
- Decide whether this tag should be aggregated by this aggregator.
- Specified by:
considerTag
in class TagAggregator