Package | Description |
---|---|
com.google.gwt.dev.jjs.ast | |
com.google.gwt.dev.jjs.impl |
Modifier and Type | Class and Description |
---|---|
class |
JArrayType
Instances are shared.
|
class |
JClassType
Java class type reference expression.
|
class |
JDeclaredType
Base class for any declared type.
|
class |
JEnumType
Java enum type reference expression.
|
class |
JInterfaceType
Java interface type definition.
|
Modifier and Type | Field and Description |
---|---|
static JReferenceType |
JReferenceType.NULL_TYPE |
Modifier and Type | Method and Description |
---|---|
JReferenceType |
JProgram.generalizeTypes(Iterable<JReferenceType> types)
Return a minimal upper bound of a set of types.
|
JReferenceType |
JConstructor.getNewType() |
JReferenceType |
JRuntimeTypeReference.getReferredType()
Returns the type this node is proxy for.
|
JReferenceType |
JInstanceOf.getTestType() |
JReferenceType |
JNameOf.getType() |
JReferenceType |
JStringLiteral.getType() |
JReferenceType |
JNewInstance.getType() |
JReferenceType |
JNewArray.getType() |
JReferenceType |
JReferenceType.getUnderlyingType()
If this type is a non-null type, returns the underlying (original) type.
|
JReferenceType |
JReferenceType.strengthenToExact() |
JReferenceType |
JReferenceType.strengthenToNonNull() |
JReferenceType |
JProgram.strengthenType(JReferenceType thisType,
JReferenceType thatType)
Return the greatest lower bound of two types.
|
JReferenceType |
JReferenceType.weakenToNonExact() |
JReferenceType |
JReferenceType.weakenToNullable() |
Modifier and Type | Method and Description |
---|---|
Set<JReferenceType> |
JTypeOracle.getCastableDestinationTypes(JReferenceType type) |
Map<JReferenceType,JCastMap> |
JProgram.getCastMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
JTypeOracle.castFailsTrivially(JReferenceType fromType,
JReferenceType toType) |
boolean |
JTypeOracle.castSucceedsTrivially(JReferenceType fromType,
JReferenceType toType) |
void |
JVisitor.endVisit(JReferenceType x,
Context ctx) |
Set<JReferenceType> |
JTypeOracle.getCastableDestinationTypes(JReferenceType type) |
JCastMap |
JProgram.getCastMap(JReferenceType referenceType) |
EnumSet<JProgram.DispatchType> |
JProgram.getDispatchType(JReferenceType type) |
JClassType |
JTypeOracle.getSingleJsoImpl(JReferenceType maybeSingleJsoIntf) |
boolean |
JTypeOracle.isInstantiatedType(JReferenceType type)
Determine whether a type is instantiated.
|
boolean |
JTypeOracle.isSuperClass(JReferenceType type,
JReferenceType possibleSuperClass)
Returns true if possibleSuperClass is a superclass of type, directly or indirectly.
|
boolean |
JTypeOracle.isSuperClassOrInterface(JReferenceType fromType,
JReferenceType toType) |
void |
JInstanceOf.resolve(JReferenceType newType)
Resolve an external reference during AST stitching.
|
JReferenceType |
JProgram.strengthenType(JReferenceType thisType,
JReferenceType thatType)
Return the greatest lower bound of two types.
|
T |
JTransformer.transformReferenceType(JReferenceType x) |
boolean |
JVisitor.visit(JReferenceType x,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
JReferenceType |
JProgram.generalizeTypes(Iterable<JReferenceType> types)
Return a minimal upper bound of a set of types.
|
void |
JProgram.initTypeInfo(Map<JReferenceType,JCastMap> castMapForType) |
void |
JTypeOracle.setInstantiatedTypes(Set<JReferenceType> instantiatedTypes) |
Constructor and Description |
---|
JInstanceOf(SourceInfo info,
JReferenceType testType,
JExpression expression) |
JRuntimeTypeReference(SourceInfo info,
JType expressionType,
JReferenceType typeReference) |
Constructor and Description |
---|
JCastMap(SourceInfo sourceInfo,
JClassType javaLangObjectType,
Collection<JReferenceType> canCastToTypes) |
Modifier and Type | Method and Description |
---|---|
static Iterable<JReferenceType> |
JjsUtils.getExpressionTypes(Iterable<? extends HasType> nodes)
Returns types from typed nodes.
|
Set<JReferenceType> |
ControlFlowAnalyzer.getInstantiatedTypes()
Return the complete set of types that have been instantiated.
|
Set<? extends JReferenceType> |
ControlFlowAnalyzer.getReferencedTypes()
Return the complete set of types that have been referenced.
|
Copyright © 2018. All rights reserved.