soot.tagkit
Class LineNumberTagAggregator

java.lang.Object
  |
  +--soot.tagkit.LineNumberTagAggregator
All Implemented Interfaces:
TagAggregator

public class LineNumberTagAggregator
extends java.lang.Object
implements TagAggregator

The aggregator for LineNumberTable attribute.


Constructor Summary
LineNumberTagAggregator(boolean active)
           
 
Method Summary
 void aggregateTag(Tag t, Unit u)
          Adds a new (unit, tag) pair.
 boolean isActive()
          Returns true if the aggregator is active.
 Tag produceAggregateTag()
          Returns a CodeAttribute with all tags aggregated.
 void refresh()
          Clears accumulated tags.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineNumberTagAggregator

public LineNumberTagAggregator(boolean active)
Method Detail

isActive

public boolean isActive()
Description copied from interface: TagAggregator
Returns true if the aggregator is active.

Specified by:
isActive in interface TagAggregator

refresh

public void refresh()
Clears accumulated tags.

Specified by:
refresh in interface TagAggregator

aggregateTag

public void aggregateTag(Tag t,
                         Unit u)
Adds a new (unit, tag) pair. Probabely we are assuming the (unit, tag) pairs come in the order.

Specified by:
aggregateTag in interface TagAggregator

produceAggregateTag

public Tag produceAggregateTag()
Returns a CodeAttribute with all tags aggregated.

Specified by:
produceAggregateTag in interface TagAggregator