Package | Description |
---|---|
com.google.gwt.dev.javac | |
com.google.gwt.dev.jjs.ast | |
com.google.gwt.dev.jjs.ast.js | |
com.google.gwt.dev.jjs.impl |
Modifier and Type | Method and Description |
---|---|
static void |
JsInteropUtil.maybeSetJsPrototypeFlag(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x,
JClassType type) |
Modifier and Type | Class and Description |
---|---|
class |
JEnumType
Java enum type reference expression.
|
Modifier and Type | Field and Description |
---|---|
List<JClassType> |
JProgram.codeGenTypes |
List<JClassType> |
JProgram.immortalCodeGenTypes |
Modifier and Type | Method and Description |
---|---|
JClassType |
JThisRef.getClassType() |
JClassType |
JNewInstance.getClassType() |
JClassType |
JConstructor.getEnclosingType() |
JClassType |
JProgram.getJavaScriptObject() |
JClassType |
JTypeOracle.getSingleJsoImpl(JReferenceType maybeSingleJsoIntf) |
JClassType |
JInterfaceType.getSuperClass() |
abstract JClassType |
JDeclaredType.getSuperClass()
Returns this type's super class, or
null if this type is
Object or an interface. |
JClassType |
JClassType.getSuperClass() |
JClassType |
JProgram.getTypeClassLiteralHolder() |
JClassType |
JProgram.getTypeJavaLangClass() |
JClassType |
JProgram.getTypeJavaLangEnum() |
JClassType |
JProgram.getTypeJavaLangObject() |
JClassType |
JProgram.getTypeJavaLangString() |
Modifier and Type | Method and Description |
---|---|
List<JClassType> |
JMethod.getThrownExceptions() |
Modifier and Type | Method and Description |
---|---|
void |
JMethod.addThrownException(JClassType exceptionType) |
static JExpression |
JGwtCreate.createInstantiationExpression(SourceInfo info,
JClassType classType,
JDeclaredType enclosingType) |
void |
JVisitor.endVisit(JClassType x,
Context ctx) |
JMethod |
JTypeOracle.getInstanceMethodBySignature(JClassType type,
String signature) |
boolean |
JTypeOracle.isSameOrSuper(JClassType type,
JClassType qType) |
boolean |
JTypeOracle.isSubClass(JClassType type,
JClassType possibleSubType)
Returns true if possibleSubType is a subclass of type, directly or indirectly.
|
boolean |
JTypeOracle.isSuperClass(JClassType type,
JClassType possibleSuperClass)
Returns true if possibleSuperClass is a superclass of type, directly or indirectly.
|
void |
JNameOf.resolve(HasName node,
JClassType stringType)
Resolve external references during AST stitching.
|
void |
JStringLiteral.resolve(JClassType stringType)
Resolve an external references during AST stitching.
|
void |
JClassType.setSuperClass(JClassType superClass)
Sets this type's super class.
|
boolean |
JVisitor.visit(JClassType x,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
JMethod.addThrownExceptions(List<JClassType> exceptionTypes) |
void |
JMethod.resolve(JType originalReturnType,
List<JType> originalParamTypes,
JType returnType,
List<JClassType> thrownExceptions)
Resolve an external references during AST stitching.
|
Constructor and Description |
---|
JCastMap(SourceInfo sourceInfo,
JClassType javaLangObjectType,
Collection<JReferenceType> canCastToTypes) |
JConstructor(SourceInfo info,
JClassType enclosingType) |
JEnumField(SourceInfo info,
String name,
int ordinal,
JEnumType enclosingType,
JClassType type) |
JNameOf(SourceInfo info,
JClassType stringType,
HasName node) |
JStringLiteral(SourceInfo sourceInfo,
String value,
JClassType stringType) |
JThisRef(SourceInfo info,
JClassType type) |
Modifier and Type | Method and Description |
---|---|
JClassType |
JsonArray.getType() |
JClassType |
JsniMethodRef.getType() |
Modifier and Type | Method and Description |
---|---|
void |
JsonArray.resolve(JClassType jsoType)
Resolve an external references during AST stitching.
|
void |
JsniMethodRef.resolve(JMethod newMethod,
JClassType jsoType)
Resolve an external references during AST stitching.
|
Constructor and Description |
---|
JsniMethodRef(SourceInfo info,
String ident,
JMethod method,
JClassType jsoType) |
JsonArray(SourceInfo sourceInfo,
JClassType jsoType) |
Modifier and Type | Method and Description |
---|---|
JClassType |
JavaToJavaScriptMapImpl.nameToType(JsName name) |
JClassType |
JavaToJavaScriptMap.nameToType(JsName name)
If
name is the name of a constructor function corresponding to
a Java type, then return that type. |
JClassType |
JavaToJavaScriptMapImpl.typeForStatement(JsStatement stat) |
JClassType |
JavaToJavaScriptMap.typeForStatement(JsStatement stat)
If
stat is used to set up the definition of some class, return
that class. |
Modifier and Type | Method and Description |
---|---|
JsName |
JavaToJavaScriptMapImpl.nameForType(JClassType type) |
JsName |
JavaToJavaScriptMap.nameForType(JClassType type)
Return the JavaScript name corresponding to a Java type.
|
boolean |
TypeTightener.TightenTypesVisitor.visit(JClassType x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JClassType x,
Context ctx) |
boolean |
SourceGenerationVisitor.visit(JClassType x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JClassType x,
Context ctx) |
Constructor and Description |
---|
JavaToJavaScriptMapImpl(List<JDeclaredType> types,
Map<HasName,JsName> names,
Map<JsStatement,JClassType> typeForStatement,
Map<JsStatement,JMethod> vtableInitForMethod) |
Copyright © 2016. All rights reserved.