Package org.stjs.generator

Interface Summary
ClassWithJavascript this interface represents the link between a java class and corresponding Javascript file (or files).
DependencyResolver this interface is used to lazily resolve a class with its corresponding javascript, when the list of dependencies is browsed.
 

Class Summary
BridgeClass This class represents a bridge class.
DependencyCollection This class is used to arrange the list of all dependencies coming from the root classes, such that classes depend on other classes found in the dependency list before they appear.
GenerationContext<JS> This class can resolve an identifier or a method in the given source context.
GenerationContext.AnnotationCacheKey  
GenerationContext.DummyTree this is a dummy try just to have the wrapper thing working for cases where only the element is available
GenerationDirectory This class is used to provide the different parts of the target directory: the absolute directory (during generation), the part relative to the project's directory used when the classpath for tests is built and the part that is saved within the .stjs files, that should be used later one (for example when this project is used as a dependency - jar/war).
Generator This class parses a Java source file, launches several visitors and finally generate the corresponding Javascript.
GeneratorConfiguration  
GeneratorConfigurationBuilder Use this class to build a configuration needed by the Generator
GeneratorConstants  
SourcePosition This class indicated a position in a source file (line, column) where the given identifier starts.
STJSClass This class represents a class and the corresponding generated javascript file.
 

Exception Summary
JavascriptClassGenerationException throw this exception when you have the name of the class for which you generate the exception
JavascriptFileGenerationException This is the exception thrown by the Generator.
MultipleFileGenerationException  
STJSRuntimeException this class is used to wrap checked exceptions that occur within the STJS code
 



Copyright © 2014. All Rights Reserved.