@NonNullByDefault public class RootExpressionTypeComputationState extends ExpressionTypeComputationState
Modifier and Type | Class and Description |
---|---|
protected static class |
RootExpressionTypeComputationState.PendingRootExpectation |
ExpressionTypeComputationState.ExpressionAwareTypeCheckpointComputationState
expression
resolvedTypes
Modifier | Constructor and Description |
---|---|
protected |
RootExpressionTypeComputationState(StackedResolvedTypes resolvedTypes,
IFeatureScopeSession featureScopeSession,
AbstractTypeComputationState parent,
XExpression expression,
LightweightTypeReference expectedType) |
Modifier and Type | Method and Description |
---|---|
protected AbstractTypeExpectation |
createTypeExpectation(LightweightTypeReference expectedType,
AbstractTypeComputationState actualState,
boolean voidAllowed,
boolean returnType) |
java.util.List<AbstractTypeExpectation> |
getExpectations(AbstractTypeComputationState actualState) |
protected java.util.List<AbstractTypeExpectation> |
getReturnExpectations(AbstractTypeComputationState actualState,
boolean asActualExpectation) |
acceptType, acceptType, createResolvedLink, doComputeTypes, getStackedResolvedTypes, isImplicitFirstArgument, isImplicitReceiver, isInstanceContext, markAsPropagated, markAsRefinedTypeIfNecessary, pushTypes, withExpectation, withoutExpectation, withTypeCheckpoint
getParent
acceptActualType, acceptActualType, addDiagnostic, addExtensionsToCurrentScope, addExtensionToCurrentScope, addLocalToCurrentScope, addLocalToCurrentScope, addTypeToStaticImportScope, assignType, assignType, assignType, assignTypes, computeTypes, createCandidate, createCandidate, createCandidateWithReceiverType, createExpressionComputationState, createResolvedLink, createTypeAssigner, createUnboundTypeReference, discardReassignedTypes, getConverter, getExpectations, getExpectedExceptions, getFeatureScopeSession, getLinkingCandidates, getLinkingCandidates, getReferenceOwner, getResolvedTypes, getResolver, getReturnExpectations, getSeverities, getSeverity, getSingleExpectation, getTypeComputer, getTypeReferences, isIgnored, reassignType, refineExpectedType, toIdentifiableDescription, toString, withExpectedExceptions, withNonVoidExpectation, withNonVoidExpectation, withoutRootExpectation, withReturnExpectation, withRootExpectation
protected RootExpressionTypeComputationState(StackedResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, AbstractTypeComputationState parent, XExpression expression, @Nullable LightweightTypeReference expectedType)
public java.util.List<AbstractTypeExpectation> getExpectations(AbstractTypeComputationState actualState)
getExpectations
in class AbstractStackedTypeComputationState
protected java.util.List<AbstractTypeExpectation> getReturnExpectations(AbstractTypeComputationState actualState, boolean asActualExpectation)
getReturnExpectations
in class AbstractStackedTypeComputationState
protected AbstractTypeExpectation createTypeExpectation(@Nullable LightweightTypeReference expectedType, AbstractTypeComputationState actualState, boolean voidAllowed, boolean returnType)