com.sun.javafx.api.tree
Interface SyntheticTree


public interface SyntheticTree

Common interface for JFX Tree nodes that allows tree walkers to discover whether a node was synthesized by the compiler (synthetic main() for instance) or was created as a consequence of parsing the input source. This interface is mainly used by IDE plugins, but is available to any tree walker.


Nested Class Summary
static class SyntheticTree.SynthType
          Enumerates all the sources of AST nodes.
 
Method Summary
 SyntheticTree.SynthType getGenType()
          Returns the generated type of the node
 void setGenType(SyntheticTree.SynthType getType)
          Sets the generated type of the node, overriding the default of SynthType.COMPILED
 

Method Detail

setGenType

void setGenType(SyntheticTree.SynthType getType)
Sets the generated type of the node, overriding the default of SynthType.COMPILED


getGenType

SyntheticTree.SynthType getGenType()
Returns the generated type of the node