Package | Description |
---|---|
com.google.gwt.dev.jjs.ast | |
com.google.gwt.dev.jjs.ast.js | |
com.google.gwt.dev.jjs.impl |
Modifier and Type | Class and Description |
---|---|
class |
JEnumType
Java enum type reference expression.
|
Modifier and Type | Field and Description |
---|---|
static JClassType |
JClassType.NULL_CLASS |
Modifier and Type | Field and Description |
---|---|
List<JClassType> |
JProgram.codeGenTypes |
List<JClassType> |
JProgram.immortalCodeGenTypes |
Modifier and Type | Method and Description |
---|---|
JClassType |
JNewInstance.getClassType() |
JClassType |
JConstructor.getEnclosingType() |
JClassType |
JProgram.getJavaScriptObject() |
JClassType |
JTypeOracle.getSingleJsoImpl(JReferenceType maybeSingleJsoIntf) |
JClassType |
JClassType.getSuperClass() |
abstract JClassType |
JDeclaredType.getSuperClass()
Returns this type's super class, or
null if this type is
Object or an interface. |
JClassType |
JInterfaceType.getSuperClass() |
JClassType |
JProgram.getTypeClassLiteralHolder() |
JClassType |
JProgram.getTypeJavaLangClass() |
JClassType |
JProgram.getTypeJavaLangObject() |
JClassType |
JProgram.getTypeJavaLangString() |
Modifier and Type | Method and Description |
---|---|
Set<JClassType> |
JProgram.getRepresentedAsNativeTypes() |
Map<JClassType,JProgram.DispatchType> |
JProgram.getRepresentedAsNativeTypesDispatchMap() |
List<JClassType> |
JMethod.getThrownExceptions() |
Modifier and Type | Method and Description |
---|---|
void |
JMethod.addThrownException(JClassType exceptionType) |
void |
JVisitor.endVisit(JClassType x,
Context ctx) |
JMethod |
JTypeOracle.findMostSpecificOverride(JClassType type,
JMethod baseMethod) |
JMethod |
JTypeOracle.getInstanceMethodBySignature(JClassType type,
String signature) |
boolean |
JTypeOracle.isSubClass(JClassType type,
JClassType possibleSubType)
Returns true if possibleSubType is a subclass 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.
|
T |
JTransformer.transformClassType(JClassType x) |
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,
AccessModifier access) |
JEnumField(SourceInfo info,
String name,
int ordinal,
JEnumType enclosingType,
JClassType type,
AccessModifier access) |
JNameOf(SourceInfo info,
JClassType stringType,
HasName node) |
JStringLiteral(SourceInfo sourceInfo,
String value,
JClassType stringType) |
Modifier and Type | Method and Description |
---|---|
JClassType |
JsniMethodRef.getType() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
static JClassType |
JjsUtils.getNativeSuperClassOrNull(JDeclaredType type)
Returns the nearest native superclass of
type if any, null otherwise. |
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. |
Modifier and Type | Method and Description |
---|---|
static JExpression |
JjsUtils.createDefaultConstructorInstantiation(SourceInfo info,
JClassType type)
Returns an instantiation expression for
type using the default constructor,
Returns null if type does not have a default constructor. |
void |
JavaAstVerifier.endVisit(JClassType x,
Context ctx) |
boolean |
SourceGenerationVisitor.visit(JClassType x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JClassType x,
Context ctx) |
boolean |
TypeTightener.TightenTypesVisitor.visit(JClassType x,
Context ctx) |
Copyright © 2018. All rights reserved.