Constructor and Description |
---|
GwtAstBuilder() |
Modifier and Type | Method and Description |
---|---|
static long |
getSerializationVersion()
Returns a serialization version number.
|
List<JDeclaredType> |
process(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud,
String sourceMapPath,
Map<org.eclipse.jdt.internal.compiler.ast.TypeDeclaration,org.eclipse.jdt.internal.compiler.lookup.Binding[]> artificialRescues,
Map<org.eclipse.jdt.internal.compiler.ast.MethodDeclaration,JsniMethod> jsniMethods,
Map<String,org.eclipse.jdt.internal.compiler.lookup.Binding> jsniRefs)
Builds all the GWT AST nodes that correspond to one Java source file.
|
public static long getSerializationVersion()
public List<JDeclaredType> process(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud, String sourceMapPath, Map<org.eclipse.jdt.internal.compiler.ast.TypeDeclaration,org.eclipse.jdt.internal.compiler.lookup.Binding[]> artificialRescues, Map<org.eclipse.jdt.internal.compiler.ast.MethodDeclaration,JsniMethod> jsniMethods, Map<String,org.eclipse.jdt.internal.compiler.lookup.Binding> jsniRefs)
cud
- The compiled form of the Java source from the JDT.sourceMapPath
- the path that should be included in a sourcemap.artificialRescues
- Used to decorate the AST.jsniMethods
- Native methods to add to the AST.jsniRefs
- Map from JSNI references to their JDT definitions.Copyright © 2018. All rights reserved.