com.google.gwt.dev.jjs.impl |
|
Java Source File Name | Type | Comment |
ArrayNormalizer.java | Class | Replace array accesses and instantiations with calls to the Array class. |
AssertionRemover.java | Class | Removes all assertion statements from the AST. |
BuildTypeMap.java | Class | This is a Builder for
TypeMap . |
CastNormalizer.java | Class | Replace cast and instanceof operations with calls to the Cast class. |
CatchBlockNormalizer.java | Class | Merge multi-catch blocks into a single catch block that uses instanceof tests
to determine which user block to run. |
CloneExpressionVisitor.java | Class | A general purpose expression cloner. |
CompoundAssignmentNormalizer.java | Class | Replace any complex assignments that will cause problems down the road with
broken expressions; replace side-effect expressions in the lhs with temps to
prevent multiple evaluation. |
DeadCodeElimination.java | Class | Attempts to remove dead code. |
ExpressionAnalyzer.java | Class | Analyzes an expression and make a number of static analysis flags available
based on the information available solely through the expression. |
GenerateJavaAST.java | Class | This is the big kahuna where most of the nitty gritty of creating our AST
happens. |
GenerateJavaScriptAST.java | Class | Creates a JavaScript AST from a JProgram node. |
GenerateJavaScriptLiterals.java | Class | Translates Java literals into JavaScript literals. |
HasNameSort.java | Class | Comparator for HasName instances. |
JavaPrecedenceVisitor.java | Class | See the Java Programming Language, 4th Edition, p. |
JavaScriptObjectCaster.java | Class | Synthesize casts for JavaScriptObject types in cases where dynamic type
information may be necessary. |
MakeCallsStatic.java | Class | This is an interesting "optimization". |
MethodAndClassFinalizer.java | Class | Finds all methods and classes are effectively final. |
MethodCallTightener.java | Class | Update polymorphic method calls to tighter bindings based on the type of the
qualifier. |
MethodInliner.java | Class | Inline methods that can be inlined. |
Pruner.java | Class | Remove globally unreferenced classes, interfaces, methods, parameters, and
fields from the AST. |
ReplaceRebinds.java | Class | Replaces any "GWT.create()" calls with a new expression for the actual result
of the deferred binding decision. |
SourceGenerationVisitor.java | Class | Generates Java source from our AST. |
TextOutputVisitor.java | Class | A convenience base class that combines a
JVisitor with a
TextOutput . |
ToStringGenerationVisitor.java | Class | Implements a reasonable toString() for all JNodes. |
TypeMap.java | Class | Contains the list of the top-level and array types. |
TypeTightener.java | Class | The purpose of this pass is to record "type flow" information and then use
the information to infer places where "tighter" (that is, more specific)
types can be inferred for locals, fields, parameters, and method return
types. |