@NonNullByDefault public class ExpressionBasedRootTypeComputationState extends AbstractRootTypeComputationState
resolvedTypes
Constructor and Description |
---|
ExpressionBasedRootTypeComputationState(ResolvedTypes resolvedTypes,
IFeatureScopeSession featureScopeSession,
XExpression expression) |
ExpressionBasedRootTypeComputationState(ResolvedTypes resolvedTypes,
IFeatureScopeSession featureScopeSession,
XExpression expression,
LightweightTypeReference expectedType) |
Modifier and Type | Method and Description |
---|---|
protected ITypeComputationResult |
createNoTypeResult() |
protected java.util.List<AbstractTypeExpectation> |
getExpectations(AbstractTypeComputationState actualState,
boolean returnType) |
protected LightweightTypeReference |
getExpectedType() |
protected XExpression |
getRootExpression() |
acceptType, acceptType, assignTypes, computeTypes, createExpressionComputationState, getExpectations, getNonNullRootExpression, getReturnExpectations
acceptActualType, acceptActualType, addDiagnostic, addExtensionsToCurrentScope, addExtensionToCurrentScope, addLocalToCurrentScope, addLocalToCurrentScope, addTypeToStaticImportScope, assignType, assignType, assignType, computeTypes, createCandidate, createCandidate, createCandidateWithReceiverType, createResolvedLink, createResolvedLink, createTypeAssigner, createUnboundTypeReference, discardReassignedTypes, doComputeTypes, getConverter, getExpectations, getExpectedExceptions, getFeatureScopeSession, getLinkingCandidates, getLinkingCandidates, getReferenceOwner, getResolvedTypes, getResolver, getReturnExpectations, getSeverities, getSeverity, getSingleExpectation, getTypeComputer, getTypeReferences, isIgnored, pushTypes, reassignType, refineExpectedType, toIdentifiableDescription, toString, withExpectation, withExpectedExceptions, withNonVoidExpectation, withNonVoidExpectation, withoutExpectation, withoutRootExpectation, withReturnExpectation, withRootExpectation, withTypeCheckpoint
public ExpressionBasedRootTypeComputationState(ResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, XExpression expression)
public ExpressionBasedRootTypeComputationState(ResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, XExpression expression, @Nullable LightweightTypeReference expectedType)
protected java.util.List<AbstractTypeExpectation> getExpectations(AbstractTypeComputationState actualState, boolean returnType)
getExpectations
in class AbstractRootTypeComputationState
protected XExpression getRootExpression()
getRootExpression
in class AbstractRootTypeComputationState
@Nullable protected LightweightTypeReference getExpectedType()
getExpectedType
in class AbstractRootTypeComputationState
protected ITypeComputationResult createNoTypeResult()
createNoTypeResult
in class AbstractRootTypeComputationState