public final class JsInteropUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JSEXPORT_CLASS |
static String |
JSNAMESPACE_CLASS |
static String |
JSNOEXPORT_CLASS |
static String |
JSPROPERTY_CLASS |
static String |
JSTYPE_CLASS |
static String |
JSTYPEPROTOTYPE_CLASS |
Constructor and Description |
---|
JsInteropUtil() |
Modifier and Type | Method and Description |
---|---|
static JsNameRef |
convertQualifiedPrototypeToNameRef(SourceInfo sourceInfo,
String jsPrototype) |
static boolean |
isClassWideJsExport(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x) |
static JDeclaredType.JsInteropType |
maybeGetJsInteropType(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x,
String jsPrototype,
JDeclaredType.JsInteropType interopType) |
static String |
maybeGetJsNamespace(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x) |
static String |
maybeGetJsTypePrototype(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x,
String jsPrototype) |
static void |
maybeSetExportedField(org.eclipse.jdt.internal.compiler.ast.FieldDeclaration x,
JField field) |
static void |
maybeSetJsinteropMethodProperties(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration x,
JMethod method) |
static void |
maybeSetJsNamespace(JDeclaredType type,
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x) |
static void |
maybeSetJsPrototypeFlag(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x,
JClassType type) |
public static final String JSEXPORT_CLASS
public static final String JSNAMESPACE_CLASS
public static final String JSNOEXPORT_CLASS
public static final String JSPROPERTY_CLASS
public static final String JSTYPE_CLASS
public static final String JSTYPEPROTOTYPE_CLASS
public static String maybeGetJsNamespace(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x)
public static void maybeSetExportedField(org.eclipse.jdt.internal.compiler.ast.FieldDeclaration x, JField field)
public static void maybeSetJsinteropMethodProperties(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration x, JMethod method)
public static JDeclaredType.JsInteropType maybeGetJsInteropType(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x, String jsPrototype, JDeclaredType.JsInteropType interopType)
public static String maybeGetJsTypePrototype(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x, String jsPrototype)
public static void maybeSetJsPrototypeFlag(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x, JClassType type)
public static boolean isClassWideJsExport(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x)
public static void maybeSetJsNamespace(JDeclaredType type, org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x)
public static JsNameRef convertQualifiedPrototypeToNameRef(SourceInfo sourceInfo, String jsPrototype)
Copyright © 2018. All rights reserved.