fabil.visit
Class StaticInitializerCollector

java.lang.Object
  extended by NodeVisitor
      extended by fabil.visit.StaticInitializerCollector

public class StaticInitializerCollector
extends NodeVisitor

A pass that collects initializers for static fields and moves them into an atomic static initializer.


Field Summary
protected  FabILNodeFactory nf
           
protected  FabILTypeSystem ts
           
 
Constructor Summary
StaticInitializerCollector(FabILNodeFactory nf, FabILTypeSystem ts)
           
 
Method Summary
 Node leave(Node old, Node n, NodeVisitor v)
           
 FabILNodeFactory nodeFactory()
           
 FabILTypeSystem typeSystem()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nf

protected FabILNodeFactory nf

ts

protected FabILTypeSystem ts
Constructor Detail

StaticInitializerCollector

public StaticInitializerCollector(FabILNodeFactory nf,
                                  FabILTypeSystem ts)
Method Detail

leave

public Node leave(Node old,
                  Node n,
                  NodeVisitor v)

nodeFactory

public FabILNodeFactory nodeFactory()

typeSystem

public FabILTypeSystem typeSystem()