soot.jimple.toolkits.annotation.tags
Class ArrayNullTagAggregator

java.lang.Object
  |
  +--soot.jimple.toolkits.annotation.tags.ArrayNullTagAggregator

public class ArrayNullTagAggregator
extends java.lang.Object
implements TagAggregator

The aggregator for ArrayNullCheckAttribute.


Constructor Summary
ArrayNullTagAggregator(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

ArrayNullTagAggregator

public ArrayNullTagAggregator(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.
Specified by:
aggregateTag in interface TagAggregator

produceAggregateTag

public Tag produceAggregateTag()
Returns a CodeAttribute with all tags aggregated.
Specified by:
produceAggregateTag in interface TagAggregator