public abstract class TagAggregator extends BodyTransformer
| Modifier and Type | Field and Description |
|---|---|
protected java.util.LinkedList<Tag> |
tags |
protected java.util.LinkedList<Unit> |
units |
| Constructor and Description |
|---|
TagAggregator() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.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,
java.lang.String phaseName,
java.util.Map<java.lang.String,java.lang.String> 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.
|
transform, transform, transformprotected java.util.LinkedList<Tag> tags
protected java.util.LinkedList<Unit> units
public abstract boolean wantTag(Tag t)
public abstract void considerTag(Tag t, Unit u)
public abstract java.lang.String aggregatedName()
protected void internalTransform(Body b, java.lang.String phaseName, java.util.Map<java.lang.String,java.lang.String> options)
BodyTransformerinternalTransform in class BodyTransformerb - 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()