Class AnnotationValueTypeComputationState
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractRootTypeComputationState
-
- org.eclipse.xtext.xbase.typesystem.internal.AnnotationValueTypeComputationState
-
- All Implemented Interfaces:
ITypeComputationState
public class AnnotationValueTypeComputationState extends AbstractRootTypeComputationState
-
-
Field Summary
-
Fields inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
resolvedTypes
-
-
Constructor Summary
Constructors Constructor Description AnnotationValueTypeComputationState(ResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, org.eclipse.xtext.common.types.JvmAnnotationValue annotationValue, XExpression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ITypeComputationResultcreateNoTypeResult()protected java.util.List<AbstractTypeExpectation>getExpectations(AbstractTypeComputationState actualState, boolean returnType)protected LightweightTypeReferencegetExpectedType()protected XExpressiongetRootExpression()-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractRootTypeComputationState
acceptType, acceptType, assignTypes, computeTypes, createExpressionComputationState, getExpectations, getNonNullRootExpression, getReturnExpectations
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
acceptActualType, acceptActualType, acceptActualType, acceptActualType, acceptCandidate, addDiagnostic, addExtensionsToCurrentScope, addExtensionToCurrentScope, addImports, addLocalToCurrentScope, addLocalToCurrentScope, addTypeToStaticExtensionImportScope, addTypeToStaticImportScope, afterScope, assignType, assignType, assignType, computeTypes, createCandidate, createCandidate, createCandidateWithReceiverType, createResolvedLink, createResolvedLink, createTypeAssigner, createUnboundTypeReference, discardReassignedTypes, doComputeTypes, getExpectations, getExpectedExceptions, getFeatureScopeSession, getLinkingCandidates, getLinkingCandidates, getReferenceOwner, getResolvedTypes, getResolver, getReturnExpectations, getSeverities, getSeverity, getSingleExpectation, getTypeComputer, getTypeReferences, isIgnored, pushTypes, reassignType, refineExpectedType, rewriteScope, toIdentifiableDescription, toString, withExpectation, withExpectedExceptions, withinScope, withNonVoidExpectation, withNonVoidExpectation, withoutExpectation, withoutRootExpectation, withReturnExpectation, withRootExpectation, withTypeCheckpoint
-
-
-
-
Constructor Detail
-
AnnotationValueTypeComputationState
public AnnotationValueTypeComputationState(ResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, org.eclipse.xtext.common.types.JvmAnnotationValue annotationValue, XExpression expression)
-
-
Method Detail
-
getExpectations
protected java.util.List<AbstractTypeExpectation> getExpectations(AbstractTypeComputationState actualState, boolean returnType)
- Specified by:
getExpectationsin classAbstractRootTypeComputationState
-
getExpectedType
protected LightweightTypeReference getExpectedType()
- Specified by:
getExpectedTypein classAbstractRootTypeComputationState
-
getRootExpression
protected XExpression getRootExpression()
- Specified by:
getRootExpressionin classAbstractRootTypeComputationState
-
createNoTypeResult
protected ITypeComputationResult createNoTypeResult()
- Specified by:
createNoTypeResultin classAbstractRootTypeComputationState
-
-