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.
|
class |
JNonNullType
A type including all the values in some other type except for
null . |
class |
JNullType
Java null reference type.
|
Modifier and Type | Method and Description |
---|---|
JReferenceType |
JProgram.generalizeTypes(Collection<? extends JReferenceType> types)
Return a minimal upper bound of a set of types.
|
JReferenceType |
JProgram.generalizeTypes(JReferenceType type1,
JReferenceType type2)
Return the least upper bound of two types.
|
JReferenceType |
JRuntimeTypeReference.getReferredType()
Returns the type this node is proxy for.
|
JReferenceType |
JInstanceOf.getTestType() |
JReferenceType |
JReferenceType.getUnderlyingType()
If this type is a non-null type, returns the underlying (original) type.
|
JReferenceType |
JNonNullType.getUnderlyingType() |
JReferenceType |
JProgram.strongerType(JReferenceType type1,
JReferenceType type2)
Return the greatest lower bound of two types.
|
Modifier and Type | Method and Description |
---|---|
Set<JReferenceType> |
JTypeOracle.getCastableDestinationTypes(JReferenceType type) |
Map<JReferenceType,JCastMap> |
JProgram.getCastMap() |
Set<JReferenceType> |
JTypeOracle.getInstantiatedJsoTypesViaCast() |
Modifier and Type | Method and Description |
---|---|
boolean |
JTypeOracle.canTheoreticallyCast(JReferenceType type,
JReferenceType qType) |
boolean |
JTypeOracle.canTriviallyCast(JReferenceType type,
JReferenceType qType) |
void |
JVisitor.endVisit(JReferenceType x,
Context ctx) |
JReferenceType |
JProgram.generalizeTypes(JReferenceType type1,
JReferenceType type2)
Return the least upper bound of two types.
|
Set<JReferenceType> |
JTypeOracle.getCastableDestinationTypes(JReferenceType type) |
JCastMap |
JProgram.getCastMap(JReferenceType referenceType) |
JClassType |
JTypeOracle.getSingleJsoImpl(JReferenceType maybeSingleJsoIntf) |
boolean |
JTypeOracle.isInstantiatedType(JReferenceType type)
Determine whether a type is instantiated.
|
void |
JInstanceOf.resolve(JReferenceType newType)
Resolve an external reference during AST stitching.
|
JReferenceType |
JProgram.strongerType(JReferenceType type1,
JReferenceType type2)
Return the greatest lower bound of two types.
|
boolean |
JVisitor.visit(JReferenceType x,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
JReferenceType |
JProgram.generalizeTypes(Collection<? extends JReferenceType> types)
Return a minimal upper bound of a set of types.
|
void |
JProgram.initTypeInfo(Map<JReferenceType,JCastMap> castMapForType) |
void |
JTypeOracle.setInstantiatedJsoTypesViaCast(Set<JReferenceType> instantiatedJsoTypesViaCast) |
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 |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ControlFlowAnalyzer.rescue(Iterable<JReferenceType> typesToRescue)
Forcibly rescue
typesToRescue . |
Copyright © 2016. All rights reserved.