public class JsniReferenceResolver extends Object
* JSNI references consist of two parts @ClassDescriptor::memberDescriptor. Class descriptors are source names and memberDescriptors are either a field name or a method name with a signature specification. Signature specification a full signature or a wildcard (*).
* The result of resolution will be a modified JSNI AST where all the resolved references will carry the fully qualified class name and the full member reference, along with a mapping from jsni references to JDT binding.
In addition in the following instances involving longs warning will be emitted to remind uses that GWT longs are not JavaScript numbers:
Modifier and Type | Class and Description |
---|---|
static interface |
JsniReferenceResolver.TypeResolver
A call-back interface to resolve types.
|
Modifier and Type | Method and Description |
---|---|
static void |
resolve(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud,
List<org.eclipse.jdt.internal.compiler.ast.ImportReference> cudOriginalImports,
Map<org.eclipse.jdt.internal.compiler.ast.MethodDeclaration,JsniMethod> jsniMethods,
Map<String,org.eclipse.jdt.internal.compiler.lookup.Binding> jsniRefs,
JsniReferenceResolver.TypeResolver typeResolver)
Resolve JSNI references in an entire
CompilationUnitDeclaration . |
public static void resolve(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud, List<org.eclipse.jdt.internal.compiler.ast.ImportReference> cudOriginalImports, Map<org.eclipse.jdt.internal.compiler.ast.MethodDeclaration,JsniMethod> jsniMethods, Map<String,org.eclipse.jdt.internal.compiler.lookup.Binding> jsniRefs, JsniReferenceResolver.TypeResolver typeResolver)
CompilationUnitDeclaration
.Copyright © 2018. All rights reserved.