public class CollapseUnaries extends java.lang.Object implements TreeTransformer
Constructor and Description |
---|
CollapseUnaries() |
Modifier and Type | Method and Description |
---|---|
Tree |
transform(Tree tree)
Applies a applyTransformToOrigin to a tree
|
public Tree transform(Tree tree)
TreeTransformer
transform
in interface TreeTransformer
tree
- the tree to applyTransformToOrigin