| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractXbaseCompiler.hasUnhandledException(List<LightweightTypeReference> thrownExceptions,
Collection<JvmTypeReference> declaredExceptions) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
ImportingStringConcatenation._getStringRepresentation(LightweightTypeReference object) |
ITreeAppendable |
TreeAppendable.append(LightweightTypeReference typeRef) |
ITreeAppendable |
ITreeAppendable.append(LightweightTypeReference typeRef) |
ITreeAppendable |
FakeTreeAppendable.append(LightweightTypeReference typeRef) |
| Modifier and Type | Method and Description |
|---|---|
protected LightweightTypeReference |
XbaseInterpreter.resolveType(XExpression element,
Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
XbaseInterpreter.getDefaultObjectValue(LightweightTypeReference type) |
protected Object |
XbaseInterpreter.wrapOrUnwrapArray(Object result,
LightweightTypeReference expectedType) |
| Modifier and Type | Method and Description |
|---|---|
Map<XExpression,LightweightTypeReference> |
ExpressionBucket.getExtensionProviders() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DynamicExtensionsScope.addDescriptions(JvmFeature feature,
XExpression receiver,
LightweightTypeReference receiverType,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> receiverTypeParameterMapping,
ExpressionBucket bucket,
List<IEObjectDescription> result) |
protected IScope |
FeatureScopes.createConstructorDelegateScope(org.eclipse.emf.ecore.EObject featureCall,
LightweightTypeReference type,
IScope parent,
IFeatureScopeSession session)
A constructor delegate scope provides the descriptions for
this() and super()
calls in a constructor body. |
protected IScope |
FeatureScopes.createDynamicExtensionsScope(org.eclipse.emf.ecore.EObject featureCall,
XExpression firstArgument,
LightweightTypeReference firstArgumentType,
boolean implicitArgument,
IScope parent,
IFeatureScopeSession session)
Create a scope that contains dynamic extension features, which are features that are contributed by an instance of a type.
|
protected IScope |
FeatureScopes.createDynamicExtensionsScope(XExpression firstArgument,
LightweightTypeReference firstArgumentType,
org.eclipse.emf.ecore.EObject featureCall,
IScope parent,
IFeatureScopeSession captureLayer,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes) |
protected IScope |
FeatureScopes.createDynamicExtensionsScope(XExpression firstArgument,
LightweightTypeReference firstArgumentType,
org.eclipse.emf.ecore.EObject featureCall,
IScope parent,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes) |
protected BucketedEObjectDescription |
DynamicExtensionsScope.createExtensionDescription(QualifiedName name,
JvmFeature feature,
XExpression receiver,
LightweightTypeReference receiverType,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> receiverTypeParameterMapping,
ExpressionBucket bucket,
boolean validStaticState) |
protected IScope |
FeatureScopes.createFeatureScopeForTypeRef(XExpression receiver,
LightweightTypeReference featureDeclarator,
boolean implicit,
org.eclipse.emf.ecore.EObject featureCall,
IFeatureScopeSession session,
JvmIdentifiableElement receiverFeature,
IScope parent,
boolean validStaticScope) |
protected IScope |
FeatureScopes.createFollowUpErrorScope(LightweightTypeReference receiverType) |
protected IScope |
FeatureScopes.createNestedTypeLiteralScope(org.eclipse.emf.ecore.EObject featureCall,
LightweightTypeReference enclosingType,
JvmDeclaredType rawEnclosingType,
IScope parent,
IFeatureScopeSession session)
Create a scope that returns nested types.
|
protected BucketedEObjectDescription |
DynamicExtensionsScope.createReceiverDescription(QualifiedName name,
JvmFeature feature,
XExpression receiver,
LightweightTypeReference receiverType,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> receiverTypeParameterMapping,
ExpressionBucket bucket,
boolean validStaticState) |
protected IScope |
FeatureScopes.createReceiverFeatureScope(org.eclipse.emf.ecore.EObject featureCall,
XExpression receiver,
LightweightTypeReference receiverType,
JvmIdentifiableElement receiverFeature,
boolean implicitReceiver,
boolean validStatic,
TypeBucket receiverBucket,
IScope parent,
IFeatureScopeSession session)
Creates a scope that returns the features of a given receiver type.
|
protected IScope |
FeatureScopes.createStaticExtensionsScope(org.eclipse.emf.ecore.EObject featureCall,
XExpression firstArgument,
LightweightTypeReference firstArgumentType,
boolean implicitArgument,
IScope parent,
IFeatureScopeSession session)
Create a scope that contains static extension features, which are features that are contributed statically via an import.
|
protected IScope |
FeatureScopes.createStaticExtensionsScope(XExpression receiver,
LightweightTypeReference receiverType,
org.eclipse.emf.ecore.EObject featureCall,
IScope parent,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes) |
protected IScope |
FeatureScopes.createStaticFeatureOnTypeLiteralScope(org.eclipse.emf.ecore.EObject featureCall,
XExpression receiver,
LightweightTypeReference receiverType,
TypeBucket receiverBucket,
IScope parent,
IFeatureScopeSession session)
Creates a scope for the static features that are exposed by a type that was used, e.g.
|
protected IScope |
FeatureScopes.createStaticFeatureOnTypeLiteralScope(XAbstractFeatureCall featureCall,
JvmType type,
XExpression receiver,
LightweightTypeReference receiverType,
IScope parent,
IFeatureScopeSession session) |
protected IScope |
FeatureScopes.createStaticFeatureScope(XAbstractFeatureCall featureCall,
XExpression receiver,
LightweightTypeReference receiverType,
TypeBucket receiverBucket,
IScope parent,
IFeatureScopeSession session)
Create a scope that contains static features.
|
protected IScope |
FeatureScopes.createStaticScope(XAbstractFeatureCall featureCall,
XExpression receiver,
LightweightTypeReference receiverType,
IScope parent,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes) |
protected IScope |
FeatureScopes.createTypeLiteralScope(XExpression featureCall,
XExpression receiver,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes,
LightweightTypeReference receiverType,
JvmIdentifiableElement linkedReceiver) |
protected BucketedEObjectDescription |
DynamicExtensionsScope.doCreateExtensionDescription(QualifiedName name,
JvmFeature feature,
XExpression receiver,
LightweightTypeReference receiverType,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> receiverTypeParameterMapping,
ExpressionBucket bucket,
boolean validStaticState) |
protected Boolean |
ExtensionScopeHelper.IsResolvedKnownTypeParamHelper.doVisitTypeReference(LightweightTypeReference reference) |
protected Set<JvmFeature> |
DynamicExtensionsScope.getAllFeatures(LightweightTypeReference extensionType,
IResolvedFeatures.Provider resolvedFeaturesProvider) |
protected boolean |
ExtensionScopeHelper.isResolvedOrKnownTypeParam(LightweightTypeReference type) |
protected boolean |
FeatureScopes.isUnknownReceiverType(LightweightTypeReference receiverType) |
boolean |
RootFeatureScopeSession.isVisible(JvmMember member,
LightweightTypeReference receiverType,
JvmIdentifiableElement receiverFeature)
Returns
true if the member is visible according to the JvmVisibility and the local context
when invoked on the given receiver feature which resolves to the given type. |
boolean |
IFeatureScopeSession.isVisible(JvmMember member,
LightweightTypeReference receiverType,
JvmIdentifiableElement receiverFeature)
Returns
true if the member is visible according to the JvmVisibility and the local context
when invoked on the given receiver feature which resolves to the given type. |
boolean |
FeatureScopeSessionWithContext.isVisible(JvmMember member,
LightweightTypeReference receiverType,
JvmIdentifiableElement receiverFeature) |
boolean |
AbstractNestedFeatureScopeSession.isVisible(JvmMember member,
LightweightTypeReference receiverType,
JvmIdentifiableElement receiverFeature) |
| Modifier and Type | Method and Description |
|---|---|
IFeatureScopeSession |
IFeatureScopeSession.addToExtensionScope(Map<XExpression,LightweightTypeReference> extensionProviders)
Add receivers to the session that contribute extensions.
|
IFeatureScopeSession |
AbstractFeatureScopeSession.addToExtensionScope(Map<XExpression,LightweightTypeReference> extensionProviders) |
protected boolean |
ExtensionScopeHelper.IsResolvedKnownTypeParamHelper.visit(List<LightweightTypeReference> list) |
| Constructor and Description |
|---|
ExpressionBucket(int id,
Map<XExpression,LightweightTypeReference> extensionProviders,
IResolvedFeatures.Provider resolvedFeaturesProvider) |
FeatureScopeSessionWithDynamicExtensions(AbstractFeatureScopeSession parent,
Map<XExpression,LightweightTypeReference> extensionProviders,
IResolvedFeatures.Provider resolvedFeaturesProvider) |
| Modifier and Type | Method and Description |
|---|---|
LightweightTypeReference |
IResolvedTypes.getActualType(JvmIdentifiableElement identifiable)
Returns the actually inferred or declared type for the given identifiable or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getActualType(JvmIdentifiableElement identifiable) |
LightweightTypeReference |
IResolvedTypes.getActualType(XExpression expression)
Returns the actually inferred type for the given expression or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getActualType(XExpression expression) |
LightweightTypeReference |
IResolvedTypes.getExpectedReturnType(XExpression expression)
Returns the expected return type for the given expression or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getExpectedReturnType(XExpression expression) |
LightweightTypeReference |
IResolvedTypes.getExpectedType(XExpression expression)
Returns the actually expected type for the given expression or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getExpectedType(XExpression expression) |
LightweightTypeReference |
IResolvedTypes.getReturnType(XExpression expression)
Returns the actually inferred return type for the given expression or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getReturnType(XExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
List<LightweightTypeReference> |
IResolvedTypes.getActualTypeArguments(XExpression expression)
Returns the resolved type arguments.
|
List<LightweightTypeReference> |
IResolvedTypes.NullResolvedTypes.getActualTypeArguments(XExpression expression) |
List<LightweightTypeReference> |
IResolvedTypes.getThrownExceptions(XExpression obj) |
List<LightweightTypeReference> |
IResolvedTypes.NullResolvedTypes.getThrownExceptions(XExpression obj) |
| Modifier and Type | Method and Description |
|---|---|
protected static LightweightTypeReference |
VarArgFeatureCallArguments.getComponentTypeIfLast(LightweightTypeReference type,
List<JvmFormalParameter> parameter,
int idx) |
| Constructor and Description |
|---|
AssignmentFeatureCallArguments(XExpression expression,
LightweightTypeReference type) |
| Modifier and Type | Method and Description |
|---|---|
static LightweightTypeReference |
ElementOrComponentTypeComputer.compute(LightweightTypeReference iterableOrArray,
ITypeReferenceOwner owner) |
protected LightweightTypeReference |
XbaseTypeComputer.computeForLoopParameterType(XForLoopExpression object,
ITypeComputationState state) |
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.createCollectionTypeReference(JvmGenericType collectionType,
LightweightTypeReference elementType,
LightweightTypeReference expectedType,
ITypeReferenceOwner owner)
Creates a collection type reference that comes as close as possible / necessary to its expected type.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.createMapTypeReference(JvmGenericType mapType,
LightweightTypeReference pairType,
LightweightTypeReference expectation,
ITypeReferenceOwner owner)
Creates a map type reference that comes as close as possible / necessary to its expected type.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.createNormalizedPairType(LightweightTypeReference pairType,
LightweightTypeReference mapType,
ITypeReferenceOwner owner)
The map type may be constructed from different pairs, e.g. the pair's type arguments don't need to be as strict
as the map suggests.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.doNormalizeElementType(LightweightTypeReference actual,
LightweightTypeReference expected)
If the expected type is not a wildcard, it may supersede the actual element type.
|
protected LightweightTypeReference |
ElementOrComponentTypeComputer.doVisitAnyTypeReference(AnyTypeReference reference) |
LightweightTypeReference |
ElementOrComponentTypeComputer.doVisitArrayTypeReference(ArrayTypeReference reference) |
LightweightTypeReference |
ElementOrComponentTypeComputer.doVisitParameterizedTypeReference(ParameterizedTypeReference reference) |
protected LightweightTypeReference |
ElementOrComponentTypeComputer.doVisitUnboundTypeReference(UnboundTypeReference reference) |
protected LightweightTypeReference |
ElementOrComponentTypeComputer.doVisitUnknownTypeReference(UnknownTypeReference reference) |
LightweightTypeReference |
ITypeComputationResult.getActualExpressionType()
Returns the type of the expression (if known).
|
protected LightweightTypeReference |
XbaseTypeComputer.getAndEnhanceIterableOrArrayFromComponent(LightweightTypeReference parameterType,
JvmGenericType iterableType,
CompoundTypeReference compoundResult) |
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.getCommonSuperType(List<LightweightTypeReference> types,
ITypeComputationState state)
Specializes the super implementation such that is allows an empty list of types.
|
protected LightweightTypeReference |
AbstractTypeComputer.getCommonSuperType(List<LightweightTypeReference> types,
ITypeComputationState state)
Computes the common super type for the given list of types.
|
protected LightweightTypeReference |
AbstractTypeComputer.getCommonSuperType(List<LightweightTypeReference> types,
ITypeReferenceOwner owner)
Computes the common super type for the given list of types.
|
protected LightweightTypeReference |
XbaseTypeComputer.getDeclaredParameterType(JvmFormalParameter declaredParam,
ITypeComputationState state) |
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.getElementOrComponentType(LightweightTypeReference iterableOrArray,
ITypeComputationState state) |
protected LightweightTypeReference |
XbaseTypeComputer.getElementOrComponentType(LightweightTypeReference iterableOrArray,
ITypeReferenceOwner owner)
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.getElementOrComponentType(LightweightTypeReference iterableOrArray,
ITypeReferenceOwner owner)
|
LightweightTypeReference |
ITypeComputationResult.getExpectedExpressionType()
Returns the type of the expectation (if any).
|
LightweightTypeReference |
ITypeComputationResult.getExpectedReturnType()
Returns the type of the return expectation (if any).
|
LightweightTypeReference |
ITypeExpectation.getExpectedType()
Returns the expected type.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.getMapExpectation(LightweightTypeReference expectation)
If the expected type is a subtype of
Map, the resolved super type is returned. |
protected LightweightTypeReference |
AbstractTypeComputer.getPrimitiveVoid(ITypeComputationState state) |
protected LightweightTypeReference |
AbstractTypeComputer.getRawTypeForName(Class<?> clazz,
ITypeComputationState state) |
protected LightweightTypeReference |
AbstractTypeComputer.getRawTypeForName(Class<?> clazz,
ITypeReferenceOwner owner)
Deprecated.
use
ITypeReferenceOwner.newReferenceTo(Class) instead. |
LightweightTypeReference |
ITypeComputationResult.getReturnType()
Returns the return type of the expression (if known).
|
protected LightweightTypeReference |
AbstractTypeComputer.getTypeForName(Class<?> clazz,
ITypeComputationState state) |
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.normalizeElementType(LightweightTypeReference collectionElementType,
LightweightTypeReference expectedCollectionType,
ITypeReferenceOwner owner)
The expected collection type may drive the type of the elements in the collection if the type is used as an
invariant type.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.normalizeFunctionTypeReference(LightweightTypeReference type)
|
LightweightTypeReference |
ITypeAssigner.toLightweightTypeReference(JvmTypeReference reference)
Can be used to convert
JvmTypeReferences in the context of
the newly forked state. |
| Modifier and Type | Method and Description |
|---|---|
protected List<LightweightTypeReference> |
CollectionLiteralsTypeComputer.computeCollectionTypeCandidates(XCollectionLiteral literal,
JvmGenericType collectionType,
LightweightTypeReference elementTypeExpectation,
ITypeComputationState state)
Creates a list of collection type references from the element types of a collection literal.
|
List<LightweightTypeReference> |
ITypeComputationState.getExpectedExceptions() |
List<LightweightTypeReference> |
ILinkingCandidate.getTypeArguments()
The resolved type arguments.
|
List<LightweightTypeReference> |
IConstructorLinkingCandidate.getTypeArguments()
The resolved type arguments.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SynonymTypesProvider.Acceptor.accept(LightweightTypeReference synonym,
ConformanceHint hint) |
protected boolean |
SynonymTypesProvider.Acceptor.accept(LightweightTypeReference synonym,
EnumSet<ConformanceHint> hints) |
protected abstract boolean |
SynonymTypesProvider.Acceptor.accept(LightweightTypeReference synonym,
int flags) |
void |
ITypeComputationState.acceptActualType(LightweightTypeReference type)
Annotates the currently considered expression(s) with the given type.
|
void |
ITypeExpectation.acceptActualType(LightweightTypeReference type,
ConformanceHint... hints) |
void |
ITypeComputationState.acceptActualType(LightweightTypeReference type,
ConformanceHint... hints)
Annotates the currently considered expression(s) with the given type.
|
void |
ITypeExpectation.acceptActualType(LightweightTypeReference type,
EnumSet<ConformanceHint> hints) |
void |
ITypeComputationState.acceptActualType(LightweightTypeReference type,
EnumSet<ConformanceHint> hints)
Annotates the currently considered expression(s) with the given type.
|
void |
ITypeExpectation.acceptActualType(LightweightTypeReference type,
int flags) |
void |
ITypeComputationState.acceptActualType(LightweightTypeReference type,
int flags)
Annotates the currently considered expression(s) with the given type.
|
protected boolean |
SynonymTypesProvider.addArrayAndListSynonyms(LightweightTypeReference type,
SynonymTypesProvider.Acceptor acceptor) |
protected boolean |
SynonymTypesProvider.announceSynonym(LightweightTypeReference synonym,
ConformanceHint hint,
SynonymTypesProvider.Acceptor acceptor)
Announce a synonym type with the given conformance hint.
|
protected boolean |
SynonymTypesProvider.announceSynonym(LightweightTypeReference synonym,
EnumSet<ConformanceHint> hints,
SynonymTypesProvider.Acceptor acceptor)
Announce a synonym type with the given conformance hints.
|
protected boolean |
SynonymTypesProvider.announceSynonym(LightweightTypeReference synonym,
int flags,
SynonymTypesProvider.Acceptor acceptor)
Announce a synonym type with the given conformance flags.
|
protected ITypeComputationState |
XbaseTypeComputer.assignType(JvmFormalParameter param,
LightweightTypeReference type,
ITypeComputationState state) |
ITypeComputationState |
ITypeComputationState.assignType(JvmIdentifiableElement element,
LightweightTypeReference type)
Assigns the type to the given element and makes the element available in the scope.
|
void |
ITypeAssigner.assignType(JvmIdentifiableElement element,
LightweightTypeReference actualType)
The given element is tagged with the given type.
|
ITypeComputationState |
ITypeComputationState.assignType(JvmIdentifiableElement element,
LightweightTypeReference type,
boolean addToChildScope)
Assigns the given type to the given element and optionally adds the element to the scope.
|
void |
ITypeComputationState.assignType(QualifiedName name,
JvmType rawType,
LightweightTypeReference actualType)
Assigns the given actual type to the raw type which shall be reachable with the given name.
|
protected boolean |
SynonymTypesProvider.collectCustomSynonymTypes(LightweightTypeReference type,
SynonymTypesProvider.Acceptor acceptor)
This is the hook to announce more synonym types.
|
void |
SynonymTypesProvider.collectSynonymTypes(LightweightTypeReference type,
SynonymTypesProvider.Acceptor acceptor) |
static LightweightTypeReference |
ElementOrComponentTypeComputer.compute(LightweightTypeReference iterableOrArray,
ITypeReferenceOwner owner) |
protected void |
CollectionLiteralsTypeComputer.computeArrayLiteralType(XListLiteral literal,
LightweightTypeReference expectedArrayType,
ITypeExpectation expectation,
ITypeComputationState state) |
protected List<LightweightTypeReference> |
CollectionLiteralsTypeComputer.computeCollectionTypeCandidates(XCollectionLiteral literal,
JvmGenericType collectionType,
LightweightTypeReference elementTypeExpectation,
ITypeComputationState state)
Creates a list of collection type references from the element types of a collection literal.
|
protected ITypeComputationResult |
CollectionLiteralsTypeComputer.computeTypes(XExpression element,
LightweightTypeReference expectation,
ITypeComputationState state) |
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.createCollectionTypeReference(JvmGenericType collectionType,
LightweightTypeReference elementType,
LightweightTypeReference expectedType,
ITypeReferenceOwner owner)
Creates a collection type reference that comes as close as possible / necessary to its expected type.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.createMapTypeReference(JvmGenericType mapType,
LightweightTypeReference pairType,
LightweightTypeReference expectation,
ITypeReferenceOwner owner)
Creates a map type reference that comes as close as possible / necessary to its expected type.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.createNormalizedPairType(LightweightTypeReference pairType,
LightweightTypeReference mapType,
ITypeReferenceOwner owner)
The map type may be constructed from different pairs, e.g. the pair's type arguments don't need to be as strict
as the map suggests.
|
protected void |
AbstractClosureTypeHelper.deferredBindTypeArgument(LightweightTypeReference declared,
LightweightTypeReference actual,
BoundTypeArgumentSource source) |
protected void |
AbstractTypeComputer.deferredBindTypeArgument(LightweightTypeReference declared,
LightweightTypeReference actual,
ITypeComputationState state) |
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.doNormalizeElementType(LightweightTypeReference actual,
LightweightTypeReference expected)
If the expected type is not a wildcard, it may supersede the actual element type.
|
protected LightweightTypeReference |
XbaseTypeComputer.getAndEnhanceIterableOrArrayFromComponent(LightweightTypeReference parameterType,
JvmGenericType iterableType,
CompoundTypeReference compoundResult) |
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.getElementOrComponentType(LightweightTypeReference iterableOrArray,
ITypeComputationState state) |
protected LightweightTypeReference |
XbaseTypeComputer.getElementOrComponentType(LightweightTypeReference iterableOrArray,
ITypeReferenceOwner owner)
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.getElementOrComponentType(LightweightTypeReference iterableOrArray,
ITypeReferenceOwner owner)
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.getMapExpectation(LightweightTypeReference expectation)
If the expected type is a subtype of
Map, the resolved super type is returned. |
protected boolean |
CollectionLiteralsTypeComputer.isExpectedType(LightweightTypeReference expectation,
Class<?> clazz) |
protected boolean |
CollectionLiteralsTypeComputer.isIterableExpectation(LightweightTypeReference expectation) |
protected boolean |
CollectionLiteralsTypeComputer.isMapExpectation(LightweightTypeReference expectation) |
protected boolean |
CollectionLiteralsTypeComputer.isMapLiteral(LightweightTypeReference expectation,
LightweightTypeReference elementType) |
protected boolean |
CollectionLiteralsTypeComputer.isSubtypeButNotSynonym(LightweightTypeReference expectation,
Class<?> clazz)
Same as
isSubtypeOf(Class) but does not accept synonym types as subtypes. |
protected boolean |
CollectionLiteralsTypeComputer.matchesExpectation(LightweightTypeReference elementType,
LightweightTypeReference expectation)
Implements fall-back strategy.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.normalizeElementType(LightweightTypeReference collectionElementType,
LightweightTypeReference expectedCollectionType,
ITypeReferenceOwner owner)
The expected collection type may drive the type of the elements in the collection if the type is used as an
invariant type.
|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.normalizeFunctionTypeReference(LightweightTypeReference type)
|
void |
ITypeComputationState.reassignType(JvmIdentifiableElement refinable,
LightweightTypeReference type)
Allows to specialize the known type of an identifiable, that was already annotated
with a type.
|
protected void |
CollectionLiteralsTypeComputer.refineElementTypeExpectation(XCollectionLiteral literal,
LightweightTypeReference expectation,
ITypeComputationState state) |
void |
ITypeComputationState.refineExpectedType(XExpression expression,
LightweightTypeReference expectation)
After the fact refinement of the expected type.
|
protected void |
CollectionLiteralsTypeComputer.setUnboundCollectionType(XCollectionLiteral literal,
JvmGenericType collectionType,
ITypeExpectation expectation,
LightweightTypeReference elementTypeExpectation,
ITypeComputationState state) |
ITypeComputationState |
ITypeComputationState.withExpectation(LightweightTypeReference expectation)
The given expectation will be resolved if it contains unresolved type
arguments, e.g. an operation that declares two parameters of the very
same type argument will yield a more detailed expectation if possible.
|
ITypeComputationState |
ITypeComputationState.withRootExpectation(LightweightTypeReference expectation)
The given expectation becomes the expected return type and the expected type for
the current context.
|
| Modifier and Type | Method and Description |
|---|---|
protected LightweightTypeReference |
CollectionLiteralsTypeComputer.getCommonSuperType(List<LightweightTypeReference> types,
ITypeComputationState state)
Specializes the super implementation such that is allows an empty list of types.
|
protected LightweightTypeReference |
AbstractTypeComputer.getCommonSuperType(List<LightweightTypeReference> types,
ITypeComputationState state)
Computes the common super type for the given list of types.
|
protected LightweightTypeReference |
AbstractTypeComputer.getCommonSuperType(List<LightweightTypeReference> types,
ITypeReferenceOwner owner)
Computes the common super type for the given list of types.
|
ITypeComputationState |
ITypeComputationState.withExpectedExceptions(List<LightweightTypeReference> declaredExceptionTypes) |
| Modifier and Type | Method and Description |
|---|---|
protected List<LightweightTypeReference> |
TypeConformanceComputer.replacePrimitivesAndRemoveAnyReferences(List<LightweightTypeReference> types) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypeConformanceComputer.MaxDistanceRawTypeAcceptor.accept(LightweightTypeReference superType,
int distance) |
boolean |
SuperTypeAcceptor.accept(LightweightTypeReference superType,
int distance) |
protected void |
TypeConformanceComputer.addComponentType(LightweightTypeReference reference,
List<LightweightTypeReference> result) |
protected int |
RawTypeConformanceComputer.addHintAndAnnounceSuccess(UnboundTypeReference left,
LightweightTypeReference hint,
int flags) |
protected LightweightTypeReference |
TypeConformanceComputer.conformsToAll(LightweightTypeReference type,
List<LightweightTypeReference> types) |
protected int |
RawTypeConformanceComputer.doIsConformant(LightweightTypeReference left,
LightweightTypeReference right,
int flags) |
protected int |
RawTypeConformanceComputer.doIsConformant(LightweightTypeReference left,
UnboundTypeReference right,
int flags) |
protected int |
RawTypeConformanceComputer.doIsConformant(LightweightTypeReference left,
WildcardTypeReference right,
int flags) |
protected int |
RawTypeConformanceComputer.doIsConformant(WildcardTypeReference left,
LightweightTypeReference right,
int flags) |
protected int |
RawTypeConformanceComputer.doIsConformantOuter(LightweightTypeReference left,
LightweightTypeReference right,
int nestedResult,
int flags) |
protected int |
TypeConformanceComputer.doIsConformantOuterType(LightweightTypeReference left,
LightweightTypeReference right,
int flags) |
protected int |
TypeConformanceComputer.doIsConformantTypeArguments(LightweightTypeReference left,
LightweightTypeReference right,
int flags) |
protected int |
RawTypeConformanceComputer.doIsConformantTypeArguments(LightweightTypeReference left,
LightweightTypeReference right,
int flags)
This is a hook for the
TypeConformanceComputer to implement the type argument check. |
List<JvmType> |
IRawTypeHelper.getAllRawTypes(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
IRawTypeHelper.getRawTypeReference(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
protected void |
TypeConformanceComputer.initializeDistance(LightweightTypeReference firstType,
com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
com.google.common.collect.Multiset<JvmType> cumulatedDistance) |
boolean |
TypeConformanceComputer.isConformant(LightweightTypeReference left,
LightweightTypeReference right) |
int |
TypeConformanceComputer.isConformant(LightweightTypeReference left,
LightweightTypeReference right,
int flags) |
int |
RawTypeConformanceComputer.isConformant(LightweightTypeReference left,
LightweightTypeReference right,
int flags) |
int |
TypeConformanceComputer.isConformant(LightweightTypeReference left,
LightweightTypeReference right,
TypeConformanceComputationArgument argument) |
protected int |
RawTypeConformanceComputer.isConformantMergeResult(LightweightMergedBoundTypeArgument mergeResult,
LightweightTypeReference right,
int flags) |
protected int |
RawTypeConformanceComputer.isConformantToConstraints(UnboundTypeReference left,
LightweightTypeReference right,
List<LightweightBoundTypeArgument> leftHints,
int flags) |
protected int |
RawTypeConformanceComputer.isSynonymConformant(int originalConformance,
LightweightTypeReference left,
LightweightTypeReference right,
int flags) |
protected int |
RawTypeConformanceComputer.tryResolveAndCheckConformance(UnboundTypeReference left,
LightweightTypeReference right,
int flags) |
protected int |
RawTypeConformanceComputer.tryResolveAndCheckConformance(UnboundTypeReference left,
List<LightweightBoundTypeArgument> leftHints,
LightweightTypeReference right,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TypeConformanceComputer.addComponentType(LightweightTypeReference reference,
List<LightweightTypeReference> result) |
protected LightweightTypeReference |
TypeConformanceComputer.conformsToAll(LightweightTypeReference type,
List<LightweightTypeReference> types) |
protected boolean |
TypeConformanceComputer.containsPrimitiveOrAnyReferences(List<LightweightTypeReference> types) |
protected void |
TypeConformanceComputer.cumulateDistance(List<LightweightTypeReference> references,
com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
com.google.common.collect.Multiset<JvmType> cumulatedDistance)
Keeps the cumulated distance for all the common raw super types of the given references.
|
protected void |
TypeConformanceComputer.cumulateDistance(List<LightweightTypeReference> references,
com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
com.google.common.collect.Multiset<JvmType> cumulatedDistance)
Keeps the cumulated distance for all the common raw super types of the given references.
|
protected boolean |
TypeConformanceComputer.enhanceSuperType(List<LightweightTypeReference> superTypes,
List<LightweightTypeReference> initiallyRequested,
ParameterizedTypeReference result) |
protected boolean |
TypeConformanceComputer.enhanceSuperType(List<LightweightTypeReference> superTypes,
List<LightweightTypeReference> initiallyRequested,
ParameterizedTypeReference result) |
LightweightTypeReference |
TypeConformanceComputer.getCommonParameterSuperType(List<LightweightTypeReference> types,
List<LightweightTypeReference> initiallyRequested,
ITypeReferenceOwner owner) |
LightweightTypeReference |
TypeConformanceComputer.getCommonParameterSuperType(List<LightweightTypeReference> types,
List<LightweightTypeReference> initiallyRequested,
ITypeReferenceOwner owner) |
LightweightTypeReference |
TypeConformanceComputer.getCommonSuperType(List<LightweightTypeReference> types,
ITypeReferenceOwner owner)
Compute the common super type for the given types.
|
protected LightweightTypeReference |
TypeConformanceComputer.getFirstForRawType(com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
JvmType rawType) |
LightweightTypeReference |
TypeConformanceComputer.getMostSpecialType(List<LightweightTypeReference> candidates) |
protected LightweightTypeReference |
TypeConformanceComputer.getTypeParametersForSupertype(com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
JvmType rawType,
ITypeReferenceOwner owner,
List<LightweightTypeReference> initiallyRequested) |
protected LightweightTypeReference |
TypeConformanceComputer.getTypeParametersForSupertype(com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
JvmType rawType,
ITypeReferenceOwner owner,
List<LightweightTypeReference> initiallyRequested) |
protected void |
TypeConformanceComputer.initializeDistance(LightweightTypeReference firstType,
com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
com.google.common.collect.Multiset<JvmType> cumulatedDistance) |
protected boolean |
TypeConformanceComputer.isRecursiveRequest(List<LightweightTypeReference> types,
Set<String> allNames,
List<LightweightTypeReference> initiallyRequested) |
protected boolean |
TypeConformanceComputer.isRecursiveRequest(List<LightweightTypeReference> types,
Set<String> allNames,
List<LightweightTypeReference> initiallyRequested) |
protected List<LightweightTypeReference> |
TypeConformanceComputer.replacePrimitivesAndRemoveAnyReferences(List<LightweightTypeReference> types) |
| Constructor and Description |
|---|
TypeConformanceComputer.MaxDistanceRawTypeAcceptor(com.google.common.collect.Multiset<JvmType> result,
com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all) |
| Modifier and Type | Field and Description |
|---|---|
protected List<LightweightTypeReference> |
AbstractLinkingCandidate.typeArguments |
| Modifier and Type | Method and Description |
|---|---|
protected LightweightTypeReference |
ResolvedTypes.getMergedType(List<LightweightTypeReference> types) |
protected String |
AbstractPendingLinkingCandidate.getTypeArgumentsAsString(List<? extends LightweightTypeReference> typeArguments)
Returns the resolved string representation of the type arguments.
|
protected ResolvedTypes |
ResolvedTypes.pushExpectedExceptions(List<LightweightTypeReference> exceptions) |
ITypeComputationState |
ForwardingTypeComputationState.withExpectedExceptions(List<LightweightTypeReference> declaredExceptionTypes) |
ITypeComputationState |
CompoundTypeComputationState.withExpectedExceptions(List<LightweightTypeReference> declaredExceptionTypes) |
AbstractTypeComputationState |
AbstractTypeComputationState.withExpectedExceptions(List<LightweightTypeReference> declaredExceptionTypes) |
| Constructor and Description |
|---|
ExpectedExceptionsStackedResolvedTypes(ResolvedTypes parent,
List<LightweightTypeReference> expectedExceptions) |
ExpectedExceptionTypeComputationState(ResolvedTypes resolvedTypes,
IFeatureScopeSession featureScopeSession,
AbstractTypeComputationState parent,
List<LightweightTypeReference> exceptions) |
| Modifier and Type | Method and Description |
|---|---|
static LightweightTypeReference |
WrapperTypeLookup.getWrapperType(LightweightTypeReference context,
Primitives.Primitive primitiveKind) |
| Modifier and Type | Method and Description |
|---|---|
static LightweightTypeReference |
WrapperTypeLookup.getWrapperType(LightweightTypeReference context,
Primitives.Primitive primitiveKind) |
| Modifier and Type | Method and Description |
|---|---|
LightweightTypeReference |
IResolvedFeature.getContextType()
Returns the current context type.
|
LightweightTypeReference |
AbstractResolvedFeature.getContextType() |
protected LightweightTypeReference |
InvokedResolvedOperation.Provider.getReceiverType(XAbstractFeatureCall featureCall,
IResolvedTypes resolvedTypes,
ITypeReferenceOwner owner) |
LightweightTypeReference |
IResolvedFeature.getResolvedDeclarator()
Returns the resolved type of the declarator of this
declaration. |
LightweightTypeReference |
AbstractResolvedFeature.getResolvedDeclarator() |
protected LightweightTypeReference |
AbstractResolvedFeature.getResolvedReference(JvmTypeReference unresolved) |
LightweightTypeReference |
IResolvedOperation.getResolvedReturnType()
Returns the resolved return types in the current context.
|
LightweightTypeReference |
AbstractResolvedOperation.getResolvedReturnType() |
LightweightTypeReference |
ResolvedField.getResolvedType() |
LightweightTypeReference |
IResolvedField.getResolvedType()
Returns the resolved type in the current context.
|
LightweightTypeReference |
OverrideHelper.getReturnTypeOfOverriddenOperation(JvmOperation operation,
ITypeReferenceOwner owner,
IVisibilityHelper visibilityHelper)
Returns
null if the given operation declares it's own return type or if it does not override
another operation. |
LightweightTypeReference |
OverrideHelper.getReturnTypeOfOverriddenOperation(JvmOperation operation,
LightweightTypeReference context)
Returns
null if the given operation declares it's own return type or if it does not override
another operation. |
LightweightTypeReference |
AbstractResolvedFeatures.getType() |
| Modifier and Type | Method and Description |
|---|---|
List<LightweightTypeReference> |
IResolvedOperation.getIllegallyDeclaredExceptions()
Returns the list of exceptions that are declared in this operation
but do not match the super implementation.
|
List<LightweightTypeReference> |
AbstractResolvedOperation.getIllegallyDeclaredExceptions() |
List<LightweightTypeReference> |
IResolvedExecutable.getResolvedExceptions()
Returns the resolved declared exceptions in the current context.
|
List<LightweightTypeReference> |
AbstractResolvedExecutable.getResolvedExceptions() |
List<LightweightTypeReference> |
IResolvedExecutable.getResolvedParameterTypes()
Returns the resolved parameter types in the current context.
|
List<LightweightTypeReference> |
AbstractResolvedExecutable.getResolvedParameterTypes() |
protected List<LightweightTypeReference> |
AbstractResolvedFeature.getResolvedReferences(List<JvmTypeReference> unresolved) |
List<LightweightTypeReference> |
InvokedResolvedOperation.getResolvedTypeArguments() |
List<LightweightTypeReference> |
IResolvedOperation.getResolvedTypeParameterConstraints(int idx)
Returns the list of resolved constraints for the given type parameter index.
|
List<LightweightTypeReference> |
AbstractResolvedOperation.getResolvedTypeParameterConstraints(int idx) |
| Modifier and Type | Method and Description |
|---|---|
protected BottomResolvedOperation |
AbstractResolvedFeatures.createResolvedOperation(JvmOperation operation,
LightweightTypeReference context) |
protected TypeParameterSubstitutor<?> |
OverrideHelper.createSubstitutor(ITypeReferenceOwner owner,
LightweightTypeReference declaringType) |
protected JvmOperation |
OverrideHelper.findOverriddenOperation(JvmOperation operation,
LightweightTypeReference declaringType,
TypeParameterSubstitutor<?> substitutor,
ITypeReferenceOwner owner,
IVisibilityHelper visibilityHelper) |
IResolvedFeatures |
RawResolvedFeatures.getParameterizedView(LightweightTypeReference concrete) |
IResolvedFeatures |
ParameterizedResolvedFeatures.getParameterizedView(LightweightTypeReference concrete) |
IResolvedFeatures |
IResolvedFeatures.getParameterizedView(LightweightTypeReference concrete)
Applies concretely bound type arguments to this instance of
IResolvedFeatures. |
ResolvedFeatures |
OverrideHelper.getResolvedFeatures(LightweightTypeReference contextType)
Returns the resolved features that are defined in the given
context type and its supertypes. |
ResolvedFeatures |
OverrideHelper.getResolvedFeatures(LightweightTypeReference contextType,
JavaVersion targetVersion)
Returns the resolved features targeting a specific Java version in order to support new language features.
|
LightweightTypeReference |
OverrideHelper.getReturnTypeOfOverriddenOperation(JvmOperation operation,
LightweightTypeReference context)
Returns
null if the given operation declares it's own return type or if it does not override
another operation. |
protected boolean |
AbstractResolvedOperation.isIllegallyDeclaredException(LightweightTypeReference exception,
List<IResolvedOperation> overriddenAndImplemented) |
protected boolean |
AbstractResolvedFeature.isResolvedTypeParameter(LightweightTypeReference typeReference,
JvmTypeParameter typeParameter) |
| Constructor and Description |
|---|
InvokedResolvedOperation(JvmOperation operation,
LightweightTypeReference contextType,
List<LightweightTypeReference> typeArguments,
OverrideTester overrideTester) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TypeReferenceInitializer<Ref extends LightweightTypeReference>
Functional interface that is used to initialize newly created type references
from
ITypeReferenceOwner.newReferenceTo(Class, TypeReferenceInitializer). |
| Modifier and Type | Class and Description |
|---|---|
class |
AnyTypeReference |
class |
ArrayTypeReference |
class |
CompoundTypeReference |
class |
FunctionTypeReference |
class |
InnerFunctionTypeReference |
class |
InnerTypeReference |
class |
ParameterizedTypeReference |
class |
UnboundTypeReference
A type reference that points to a type parameter that is not yet resolved.
|
class |
UnknownTypeReference
Represents a JvmType that could not be resolved, e.g. a proxy or null.
|
class |
WildcardTypeReference |
| Modifier and Type | Method and Description |
|---|---|
LightweightTypeReference |
OwnedConverter.apply(JvmTypeReference reference)
Deprecated.
|
LightweightTypeReference |
ArrayTypes.convertToList(ArrayTypeReference type) |
LightweightTypeReference |
UnboundTypeReference.copyInto(ITypeReferenceOwner owner)
Always copies the reference since we want to reduce the nesting level
of references if this one was resolved but points to something unresolved.
|
LightweightTypeReference |
LightweightTypeReference.copyInto(ITypeReferenceOwner owner) |
protected LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.createObjectReference(ITypeReferenceOwner owner,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
protected LightweightTypeReference |
ParameterizedTypeReference.createRawTypeReference(JvmType rawType) |
protected LightweightTypeReference |
UnknownTypeReference.doCopyInto(ITypeReferenceOwner owner) |
protected LightweightTypeReference |
UnboundTypeReference.doCopyInto(ITypeReferenceOwner owner) |
protected abstract LightweightTypeReference |
LightweightTypeReference.doCopyInto(ITypeReferenceOwner owner) |
protected LightweightTypeReference |
CompoundTypeReference.doCopyInto(ITypeReferenceOwner owner) |
protected LightweightTypeReference |
ArrayTypeReference.doCopyInto(ITypeReferenceOwner owner) |
protected LightweightTypeReference |
AnyTypeReference.doCopyInto(ITypeReferenceOwner owner) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitAnyTypeReference(JvmAnyTypeReference reference) |
protected LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitCompoundReference(JvmCompoundTypeReference reference,
boolean synonym) |
protected LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.doVisitCompoundTypeReference(CompoundTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitComputedTypeReference(XComputedTypeReference reference) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitFunctionTypeReference(XFunctionTypeRef reference) |
LightweightTypeReference |
IndexingLightweightTypeReferenceFactory.doVisitFunctionTypeReference(XFunctionTypeRef reference) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitGenericArrayTypeReference(JvmGenericArrayTypeReference reference) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitInnerTypeReference(JvmInnerTypeReference reference) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitMultiTypeReference(JvmMultiTypeReference reference) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitParameterizedTypeReference(JvmParameterizedTypeReference reference) |
protected LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.doVisitParameterizedTypeReference(ParameterizedTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
protected LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.doVisitSynonymTypeReference(CompoundTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitSynonymTypeReference(JvmSynonymTypeReference reference) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitTypeReference(JvmTypeReference reference) |
protected LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.doVisitTypeReference(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitUnknownTypeReference(JvmUnknownTypeReference reference) |
LightweightTypeReference |
LightweightTypeReferenceFactory.doVisitWildcardTypeReference(JvmWildcardTypeReference reference) |
protected LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.doVisitWildcardTypeReference(WildcardTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
TypeReferenceInitializer.enhance(Ref reference)
Enhance the given reference and return itself or a wrapper around it, e.g.
|
LightweightTypeReference |
UnboundTypeReference.getComponentType() |
LightweightTypeReference |
LightweightTypeReference.getComponentType()
Returns the component type of the current array type.
|
LightweightTypeReference |
ArrayTypeReference.getComponentType() |
LightweightTypeReference |
WildcardTypeReference.getInvariantBoundSubstitute() |
LightweightTypeReference |
UnboundTypeReference.getInvariantBoundSubstitute() |
LightweightTypeReference |
LightweightTypeReference.getInvariantBoundSubstitute() |
protected LightweightTypeReference |
IndexingLightweightTypeReferenceFactory.getJavaLangObjectTypeReference() |
LightweightTypeReference |
WildcardTypeReference.getLowerBound() |
LightweightTypeReference |
WildcardTypeReference.getLowerBoundSubstitute() |
LightweightTypeReference |
UnboundTypeReference.getLowerBoundSubstitute() |
LightweightTypeReference |
LightweightTypeReference.getLowerBoundSubstitute() |
LightweightTypeReference |
LightweightTypeReference.getNamedType()
Returns the named type if this is an anonymous type.
|
LightweightTypeReference |
ArrayTypeReference.getNamedType() |
protected LightweightTypeReference |
LightweightTypeReferenceFactory.getObjectReference() |
LightweightTypeReference |
LightweightTypeReference.getOuter() |
LightweightTypeReference |
InnerTypeReference.getOuter() |
LightweightTypeReference |
InnerFunctionTypeReference.getOuter() |
LightweightTypeReference |
UnboundTypeReference.getPrimitiveIfWrapperType() |
LightweightTypeReference |
ParameterizedTypeReference.getPrimitiveIfWrapperType() |
LightweightTypeReference |
LightweightTypeReference.getPrimitiveIfWrapperType() |
LightweightTypeReference |
ParameterizedTypeReference.getRawSuperType(JvmType rawType) |
protected LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.getRawTypeFromConstraints(ITypeReferenceOwner owner,
JvmTypeParameter typeParameter,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
ParameterizedTypeReference.getRawTypeReference() |
LightweightTypeReference |
LightweightTypeReference.getRawTypeReference() |
LightweightTypeReference |
InnerTypeReference.getRawTypeReference() |
LightweightTypeReference |
InnerFunctionTypeReference.getRawTypeReference() |
LightweightTypeReference |
CompoundTypeReference.getRawTypeReference() |
LightweightTypeReference |
ArrayTypeReference.getRawTypeReference() |
LightweightTypeReference |
RawTypeHelper.getRawTypeReference(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.getRawTypeReference(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
UnboundTypeReference.getResolvedTo()
Returns the resolved reference for this unbound reference.
|
LightweightTypeReference |
FunctionTypeReference.getReturnType() |
LightweightTypeReference |
WildcardTypeReference.getSuperType(Class<?> rawType) |
LightweightTypeReference |
UnboundTypeReference.getSuperType(Class<?> rawType) |
LightweightTypeReference |
ParameterizedTypeReference.getSuperType(Class<?> rawType) |
LightweightTypeReference |
LightweightTypeReference.getSuperType(Class<?> rawType)
Returns the resolved super type for the given raw type or
null if the raw type
is not a valid super type of this type. |
LightweightTypeReference |
CompoundTypeReference.getSuperType(Class<?> rawType) |
LightweightTypeReference |
ArrayTypeReference.getSuperType(Class<?> rawType) |
LightweightTypeReference |
WildcardTypeReference.getSuperType(JvmType rawType) |
LightweightTypeReference |
UnboundTypeReference.getSuperType(JvmType rawType) |
LightweightTypeReference |
ParameterizedTypeReference.getSuperType(JvmType rawType) |
LightweightTypeReference |
LightweightTypeReference.getSuperType(JvmType rawType)
Returns the resolved super type for the given raw type or null if the raw type
is not a valid super type of this type.
|
LightweightTypeReference |
CompoundTypeReference.getSuperType(JvmType rawType) |
LightweightTypeReference |
ArrayTypeReference.getSuperType(JvmType rawType) |
LightweightTypeReference |
LightweightMergedBoundTypeArgument.getTypeReference() |
LightweightTypeReference |
LightweightBoundTypeArgument.getTypeReference() |
LightweightTypeReference |
WildcardTypeReference.getUpperBoundSubstitute() |
LightweightTypeReference |
UnboundTypeReference.getUpperBoundSubstitute() |
LightweightTypeReference |
LightweightTypeReference.getUpperBoundSubstitute() |
LightweightTypeReference |
UnboundTypeReference.getWrapperTypeIfPrimitive() |
LightweightTypeReference |
ParameterizedTypeReference.getWrapperTypeIfPrimitive() |
LightweightTypeReference |
LightweightTypeReference.getWrapperTypeIfPrimitive() |
protected LightweightTypeReference |
LightweightTypeReferenceFactory.handleNullReference() |
protected LightweightTypeReference |
LightweightTypeReference.internalFindTopLevelType(Class<?> rawType) |
LightweightTypeReference |
UnboundTypeReference.internalGetResolvedTo() |
LightweightTypeReference |
StandardTypeReferenceOwner.newReferenceTo(Class<?> type)
Creates a references to the given class or returns an
UnknownTypeReference if no
JRE is available. |
LightweightTypeReference |
ITypeReferenceOwner.newReferenceTo(Class<?> type)
Creates a reference to the given class or returns an
UnknownTypeReference if no
JRE is available. |
LightweightTypeReference |
StandardTypeReferenceOwner.newReferenceTo(Class<?> type,
TypeReferenceInitializer<? super ParameterizedTypeReference> init)
Creates a references to the given class or returns an
UnknownTypeReference if no
JRE is available. |
LightweightTypeReference |
ITypeReferenceOwner.newReferenceTo(Class<?> type,
TypeReferenceInitializer<? super ParameterizedTypeReference> init)
Creates a reference to the given class or returns an
UnknownTypeReference if no
JRE is available. |
LightweightTypeReference |
StandardTypeReferenceOwner.newReferenceToObject()
Creates a references to
Object or returns an UnknownTypeReference if no
JRE is available. |
LightweightTypeReference |
ITypeReferenceOwner.newReferenceToObject()
Creates a reference to
Object or returns an UnknownTypeReference if no
JRE is available. |
LightweightTypeReference |
UnboundTypeReference.resolve()
Force this reference to be resolved.
|
LightweightTypeReference |
UnboundTypeReference.toJavaType() |
LightweightTypeReference |
LightweightTypeReference.toJavaType()
Converts types to references that can be expressed as Java type references
in source code.
|
LightweightTypeReference |
CompoundTypeReference.toJavaType() |
LightweightTypeReference |
AnyTypeReference.toJavaType() |
LightweightTypeReference |
LightweightTypeReferenceFactory.toLightweightReference(JvmType type) |
LightweightTypeReference |
LightweightTypeReferenceFactory.toLightweightReference(JvmTypeReference reference) |
LightweightTypeReference |
StandardTypeReferenceOwner.toLightweightTypeReference(JvmType type) |
LightweightTypeReference |
ITypeReferenceOwner.toLightweightTypeReference(JvmType type)
Creates a new type reference that points to the given type.
|
LightweightTypeReference |
StandardTypeReferenceOwner.toLightweightTypeReference(JvmTypeReference type) |
LightweightTypeReference |
ITypeReferenceOwner.toLightweightTypeReference(JvmTypeReference type)
Transforms the given EMF based type reference to its equivalent in the
LightweightTypeReference
hierarchy. |
LightweightTypeReference |
StandardTypeReferenceOwner.toPlainTypeReference(JvmType type) |
LightweightTypeReference |
LightweightTypeReferenceFactory.toPlainTypeReference(JvmType type) |
LightweightTypeReference |
ITypeReferenceOwner.toPlainTypeReference(JvmType type)
Creates a new type reference that points to the given type.
|
LightweightTypeReference |
OwnedConverter.toRawLightweightReference(JvmType type)
Deprecated.
|
LightweightTypeReference |
UnboundTypeReference.tryConvertToListType() |
LightweightTypeReference |
ParameterizedTypeReference.tryConvertToListType() |
LightweightTypeReference |
LightweightTypeReference.tryConvertToListType()
Returns the list representation of this reference if it represents an array or is
already a subtype of
List. |
LightweightTypeReference |
ArrayTypeReference.tryConvertToListType() |
| Modifier and Type | Method and Description |
|---|---|
void |
UnboundTypeReference.acceptHint(LightweightTypeReference hint,
BoundTypeArgumentSource source,
Object origin,
VarianceInfo expectedVariance,
VarianceInfo actualVariance)
Attach a resolution hint to this unbound type reference.
|
void |
CompoundTypeReference.addComponent(LightweightTypeReference component) |
void |
FunctionTypeReference.addParameterType(LightweightTypeReference parameterType) |
void |
ParameterizedTypeReference.addTypeArgument(LightweightTypeReference argument) |
void |
WildcardTypeReference.addUpperBound(LightweightTypeReference upperBound) |
String |
LightweightTypeReference.IdentifierFunction.apply(LightweightTypeReference reference) |
String |
LightweightTypeReference.UniqueIdentifierFunction.apply(LightweightTypeReference reference) |
String |
LightweightTypeReference.JavaIdentifierFunction.apply(LightweightTypeReference reference) |
String |
LightweightTypeReference.SimpleNameFunction.apply(LightweightTypeReference reference) |
boolean |
UnboundTypeReference.canResolveTo(LightweightTypeReference reference)
Returns true if the existing hints would allow to resolve to the given reference.
|
protected boolean |
UnboundTypeReference.canResolveTo(LightweightTypeReference reference,
List<LightweightBoundTypeArgument> allHints) |
List<JvmTypeParameter> |
FunctionTypes.collectAllTypeParameters(LightweightTypeReference closureType,
JvmOperation operation) |
FunctionTypeReference |
FunctionTypes.createFunctionTypeRef(ITypeReferenceOwner owner,
LightweightTypeReference functionType,
List<LightweightTypeReference> parameterTypes,
LightweightTypeReference returnType) |
protected Result |
TypeReferenceVisitorWithResult.doVisitTypeReference(LightweightTypeReference reference) |
protected void |
TypeReferenceVisitor.doVisitTypeReference(LightweightTypeReference reference) |
protected Result |
TypeReferenceVisitorWithParameterAndResult.doVisitTypeReference(LightweightTypeReference reference,
Param param) |
protected void |
TypeReferenceVisitorWithParameter.doVisitTypeReference(LightweightTypeReference reference,
Param param) |
protected List<JvmType> |
RawTypeHelper.RawTypeImplementation.doVisitTypeReference(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
protected LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.doVisitTypeReference(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
JvmOperation |
FunctionTypes.findImplementingOperation(LightweightTypeReference functionType) |
List<JvmType> |
RawTypeHelper.getAllRawTypes(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
List<JvmType> |
RawTypeHelper.RawTypeImplementation.getAllRawTypes(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
Map<JvmTypeParameter,List<LightweightBoundTypeArgument>> |
FunctionTypes.getFunctionTypeParameterMapping(LightweightTypeReference functionType,
JvmOperation operation,
ActualTypeArgumentCollector typeArgumentCollector,
ITypeReferenceOwner owner) |
LightweightTypeReference |
RawTypeHelper.getRawTypeReference(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
LightweightTypeReference |
RawTypeHelper.RawTypeReferenceImplementation.getRawTypeReference(LightweightTypeReference reference,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
int |
LightweightTypeReference.internalIsAssignableFrom(LightweightTypeReference reference,
TypeConformanceComputationArgument argument) |
boolean |
LightweightTypeReference.isAssignableFrom(LightweightTypeReference reference)
Determines if this type reference denotes the same or a supertype of
the given
reference. |
boolean |
LightweightTypeReference.isAssignableFrom(LightweightTypeReference reference,
TypeConformanceComputationArgument argument) |
ArrayTypeReference |
StandardTypeReferenceOwner.newArrayTypeReference(LightweightTypeReference componentTypeReference) |
ArrayTypeReference |
ITypeReferenceOwner.newArrayTypeReference(LightweightTypeReference componentTypeReference)
Creates a new
ArrayTypeReference with the given component type. |
InnerFunctionTypeReference |
StandardTypeReferenceOwner.newFunctionTypeReference(LightweightTypeReference outer,
JvmType type) |
InnerFunctionTypeReference |
ITypeReferenceOwner.newFunctionTypeReference(LightweightTypeReference outer,
JvmType type)
Create a new
InnerFunctionTypeReference that is backed by the given type and has to
defined outer type. |
InnerTypeReference |
StandardTypeReferenceOwner.newParameterizedTypeReference(LightweightTypeReference outer,
JvmType type) |
InnerTypeReference |
ITypeReferenceOwner.newParameterizedTypeReference(LightweightTypeReference outer,
JvmType type)
Creates a new
InnerTypeReference. |
void |
WildcardTypeReference.setLowerBound(LightweightTypeReference lowerBound) |
void |
FunctionTypeReference.setReturnType(LightweightTypeReference returnType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LightweightTypeReferenceSerializer.appendCommaSeparated(List<LightweightTypeReference> references) |
protected List<JvmType> |
RawTypeHelper.RawTypeImplementation.collectRawTypes(List<LightweightTypeReference> references,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
protected void |
LightweightTypeReference.collectSuperTypes(int level,
List<LightweightTypeReference> references,
TypeParameterSubstitutor<?> substitutor,
SuperTypeAcceptor acceptor,
Set<JvmType> seenTypes) |
FunctionTypeReference |
FunctionTypes.createFunctionTypeRef(ITypeReferenceOwner owner,
LightweightTypeReference functionType,
List<LightweightTypeReference> parameterTypes,
LightweightTypeReference returnType) |
protected void |
RawTypeHelper.RawTypeReferenceImplementation.enhanceCompoundReference(List<LightweightTypeReference> references,
CompoundTypeReference result,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
protected String |
ParameterizedTypeReference.getAsString(String type,
com.google.common.base.Function<LightweightTypeReference,String> format) |
protected String |
InnerTypeReference.getAsString(String type,
com.google.common.base.Function<LightweightTypeReference,String> format) |
protected String |
InnerFunctionTypeReference.getAsString(String type,
com.google.common.base.Function<LightweightTypeReference,String> format) |
protected String |
FunctionTypeReference.getAsString(String type,
com.google.common.base.Function<LightweightTypeReference,String> format) |
protected String |
InnerFunctionTypeReference.getAsStringNoFunctionType(String type,
com.google.common.base.Function<LightweightTypeReference,String> format) |
protected String |
FunctionTypeReference.getAsStringNoFunctionType(String type,
com.google.common.base.Function<LightweightTypeReference,String> format) |
protected List<LightweightTypeReference> |
LightweightTypeReference.getNonInterfaceTypes(List<LightweightTypeReference> components) |
protected JvmTypeReference |
LightweightTypeReference.toJavaCompliantTypeReference(List<LightweightTypeReference> types,
IVisibilityHelper visibilityHelper) |
protected boolean |
FunctionTypes.tryAssignTypeArguments(List<LightweightTypeReference> typeArguments,
FunctionTypeReference result) |
| Constructor and Description |
|---|
ArrayTypeReference(ITypeReferenceOwner owner,
LightweightTypeReference component) |
InnerFunctionTypeReference(ITypeReferenceOwner owner,
LightweightTypeReference outer,
JvmType type) |
InnerTypeReference(ITypeReferenceOwner owner,
LightweightTypeReference outer,
JvmType type) |
LightweightBoundTypeArgument(LightweightTypeReference typeReference,
BoundTypeArgumentSource source,
Object origin,
VarianceInfo declaredVariance,
VarianceInfo actualVariance) |
LightweightMergedBoundTypeArgument(LightweightTypeReference typeReference,
VarianceInfo variance) |
| Modifier and Type | Method and Description |
|---|---|
List<LightweightTypeReference> |
ExtendedEarlyExitComputer.getThrownExceptions(XExpression obj,
IResolvedTypes types,
ITypeReferenceOwner owner) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ThrownExceptionSwitch.accept(LightweightTypeReference type) |
void |
IThrownExceptionDelegate.accept(LightweightTypeReference type) |
void |
ExtendedEarlyExitComputer.ThrownExceptionDelegate.accept(LightweightTypeReference type) |
void |
ExtendedEarlyExitComputer.FilteringThrownExceptionDelegate.accept(LightweightTypeReference type) |
protected void |
UnboundTypeParameterAwareTypeArgumentCollector.acceptHint(UnboundTypeReference reference,
LightweightTypeReference param) |
protected void |
TypeArgumentFromComputedTypeCollector.acceptHint(UnboundTypeReference reference,
LightweightTypeReference param) |
protected void |
DeferredTypeParameterHintCollector.addHint(UnboundTypeReference typeParameter,
LightweightTypeReference reference) |
protected LightweightBoundTypeArgument |
ActualTypeArgumentCollector.boundByConstraint(LightweightTypeReference reference,
Object origin) |
protected LightweightBoundTypeArgument |
ActualTypeArgumentCollector.boundByDefaultSource(LightweightTypeReference reference) |
protected LightweightTypeReference |
TypeParameterSubstitutor.copy(LightweightTypeReference reference) |
protected void |
AbstractTypeReferencePairWalker.doVisitAnyTypeReference(AnyTypeReference reference,
LightweightTypeReference param) |
protected void |
AbstractTypeReferencePairWalker.doVisitArrayTypeReference(ArrayTypeReference declaredReference,
LightweightTypeReference param) |
protected void |
AbstractTypeReferencePairWalker.doVisitCompoundTypeReference(CompoundTypeReference declaredReference,
LightweightTypeReference param) |
protected void |
AbstractTypeReferencePairWalker.doVisitParameterizedTypeReference(ParameterizedTypeReference reference,
LightweightTypeReference param) |
protected void |
AbstractTypeReferencePairWalker.CompoundTypeReferenceTraverser.doVisitTypeReference(LightweightTypeReference reference,
CompoundTypeReference declaration) |
protected Boolean |
DeclaratorTypeArgumentCollector.doVisitTypeReference(LightweightTypeReference reference,
LightweightTraversalData data) |
protected void |
HumanReadableTypeNames.doVisitTypeReference(LightweightTypeReference reference,
StringBuilder param) |
protected void |
UnboundTypeParameterAwareTypeArgumentCollector.UnboundTypeParameterAwareUnboundTypeReferenceTraverser.doVisitTypeReference(LightweightTypeReference reference,
UnboundTypeReference declaration) |
protected void |
DeferredTypeParameterHintCollector.UnboundTypeParameterHintCollector.doVisitTypeReference(LightweightTypeReference reference,
UnboundTypeReference declaration) |
protected void |
AbstractTypeReferencePairWalker.UnboundTypeReferenceTraverser.doVisitTypeReference(LightweightTypeReference reference,
UnboundTypeReference declaration) |
protected org.eclipse.xtext.xbase.typesystem.util.LocalTypeSubstitutor.SubstitutionResult |
LocalTypeSubstitutor.doVisitTypeReference(LightweightTypeReference reference,
VarianceInfo param) |
void |
AbstractTypeReferencePairWalker.WildcardTypeReferenceTraverser.doVisitTypeReference(LightweightTypeReference reference,
WildcardTypeReference declaration) |
protected void |
AbstractTypeReferencePairWalker.doVisitUnboundTypeReference(UnboundTypeReference reference,
LightweightTypeReference param) |
protected void |
AbstractTypeReferencePairWalker.doVisitUnknownTypeReference(UnknownTypeReference reference,
LightweightTypeReference param) |
protected void |
AbstractTypeReferencePairWalker.doVisitWildcardTypeReference(WildcardTypeReference declaredReference,
LightweightTypeReference param) |
protected LightweightTypeReference |
DeferredTypeParameterHintCollector.getStricterConstraint(UnboundTypeReference typeParameter,
LightweightTypeReference hint) |
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> |
DeclaratorTypeArgumentCollector.getTypeParameterMapping(LightweightTypeReference reference) |
boolean |
BoundTypeArgumentMerger.isPossibleMergeResult(List<LightweightBoundTypeArgument> allArguments,
LightweightTypeReference candidate) |
protected void |
AbstractTypeReferencePairWalker.outerVisit(LightweightTypeReference declaredType,
LightweightTypeReference actualType) |
protected void |
AbstractTypeReferencePairWalker.outerVisit(LightweightTypeReference declaredType,
LightweightTypeReference actualType,
Object origin,
VarianceInfo expectedVariance,
VarianceInfo actualVariance) |
void |
ActualTypeArgumentCollector.populateTypeParameterMapping(LightweightTypeReference declaredType,
LightweightTypeReference actualType) |
void |
ActualTypeArgumentCollector.processPairedReferences(LightweightTypeReference declaredType,
LightweightTypeReference actualType) |
void |
AbstractTypeReferencePairWalker.processPairedReferences(LightweightTypeReference declaredType,
LightweightTypeReference actualType) |
protected void |
ActualTypeArgumentCollector.processTypeParameter(JvmTypeParameter typeParameter,
LightweightTypeReference reference) |
protected void |
AbstractTypeReferencePairWalker.processTypeParameter(JvmTypeParameter typeParameter,
LightweightTypeReference reference) |
static void |
TypeArgumentFromComputedTypeCollector.resolveAgainstActualType(LightweightTypeReference declaredType,
LightweightTypeReference actualType,
Collection<JvmTypeParameter> typeParameters,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping,
BoundTypeArgumentSource source,
ITypeReferenceOwner owner) |
LightweightTypeReference |
TypeParameterSubstitutor.substitute(LightweightTypeReference original) |
LightweightTypeReference |
RawTypeSubstitutor.substitute(LightweightTypeReference original) |
LightweightTypeReference |
CustomTypeParameterSubstitutor.substitute(LightweightTypeReference original) |
protected LightweightTypeReference |
TypeParameterByConstraintSubstitutor.visitTypeArgument(LightweightTypeReference reference,
ConstraintVisitingInfo visiting,
boolean lowerBound) |
protected org.eclipse.xtext.xbase.typesystem.util.LocalTypeSubstitutor.SubstitutionResult |
LocalTypeSubstitutor.visitTypeArgument(LightweightTypeReference reference,
VarianceInfo varianceInfo) |
protected LightweightTypeReference |
TypeParameterSubstitutor.visitTypeArgument(LightweightTypeReference reference,
Visiting visiting)
This is equivalent to
visitTypeArgument(reference, visiting, false). |
protected LightweightTypeReference |
TypeParameterSubstitutor.visitTypeArgument(LightweightTypeReference reference,
Visiting visiting,
boolean lowerBound) |
LightweightTypeReference |
LocalTypeSubstitutor.withoutLocalTypes(LightweightTypeReference original) |
| Modifier and Type | Method and Description |
|---|---|
IThrownExceptionDelegate |
IThrownExceptionDelegate.catchExceptions(List<LightweightTypeReference> caughtExceptions) |
IThrownExceptionDelegate |
ExtendedEarlyExitComputer.AbstractThrownExceptionDelegate.catchExceptions(List<LightweightTypeReference> caughtExceptions) |
protected ExtendedEarlyExitComputer.ThrownExceptionDelegate |
ExtendedEarlyExitComputer.createDelegate(List<LightweightTypeReference> result,
IResolvedTypes types,
ITypeReferenceOwner owner) |
protected LightweightTypeReference |
BoundTypeArgumentMerger.getMostSpecialType(List<LightweightTypeReference> candidates) |
| Constructor and Description |
|---|
ContextualVisibilityHelper(IVisibilityHelper parent,
LightweightTypeReference contextType) |
ContextualVisibilityHelper(IVisibilityHelper parent,
LightweightTypeReference contextType,
String packageName) |
ContextualVisibilityHelper(LightweightTypeReference contextType) |
| Constructor and Description |
|---|
ExtendedEarlyExitComputer.FilteringThrownExceptionDelegate(IThrownExceptionDelegate delegate,
List<LightweightTypeReference> caughtExceptions) |
ExtendedEarlyExitComputer.ThrownExceptionDelegate(List<LightweightTypeReference> result,
IResolvedTypes types,
ITypeReferenceOwner owner) |
| Modifier and Type | Method and Description |
|---|---|
LightweightTypeReference |
XSwitchExpressions.getSwitchVariableType(XSwitchExpression it) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypesOrderUtil.isHandled(LightweightTypeReference actualTypeReference,
Collection<LightweightTypeReference> collection) |
boolean |
TypesOrderUtil.isHandled(LightweightTypeReference actualTypeReference,
LightweightTypeReference previousTypeReference) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypesOrderUtil.isHandled(LightweightTypeReference actualTypeReference,
Collection<LightweightTypeReference> collection) |
| Modifier and Type | Method and Description |
|---|---|
protected LightweightTypeReference |
XbaseValidator.getActualType(org.eclipse.emf.ecore.EObject context,
JvmIdentifiableElement element) |
protected LightweightTypeReference |
XbaseValidator.getActualType(JvmIdentifiableElement identifiable) |
protected LightweightTypeReference |
XbaseValidator.getActualType(XExpression expression) |
protected LightweightTypeReference |
XbaseValidator.getExpectedType(XExpression expression) |
protected LightweightTypeReference |
XbaseValidator.toLightweightTypeReference(JvmTypeReference typeRef) |
protected LightweightTypeReference |
XbaseValidator.toLightweightTypeReference(JvmTypeReference typeRef,
boolean keepUnboundWildcardInformation) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
XbaseValidator.canonicalName(LightweightTypeReference typeRef) |
protected void |
XbaseValidator.checkCast(JvmTypeReference concreteSyntax,
LightweightTypeReference toType,
LightweightTypeReference fromType) |
protected boolean |
XbaseValidator.containsTypeArgs(LightweightTypeReference instanceOfType) |
protected String |
XbaseValidator.getNameOfTypes(LightweightTypeReference expectedType) |
protected boolean |
XbaseValidator.isFinal(LightweightTypeReference expressionTypeRef) |
protected boolean |
XbaseValidator.isHandled(LightweightTypeReference actualTypeReference,
Collection<LightweightTypeReference> collection) |
protected boolean |
XbaseValidator.memberOfTypeHierarchy(LightweightTypeReference type,
LightweightTypeReference potentialMember) |
protected String |
UIStrings.referenceToString(LightweightTypeReference reference) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
XbaseValidator.isHandled(LightweightTypeReference actualTypeReference,
Collection<LightweightTypeReference> collection) |
Copyright © 2015. All Rights Reserved.