Class OperationBodyComputationState
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractRootTypeComputationState
-
- org.eclipse.xtext.xbase.typesystem.internal.AbstractLogicalContainerAwareRootComputationState
-
- org.eclipse.xtext.xbase.typesystem.internal.OperationBodyComputationState
-
- All Implemented Interfaces:
ITypeComputationState
public class OperationBodyComputationState extends AbstractLogicalContainerAwareRootComputationState
-
-
Field Summary
-
Fields inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
resolvedTypes
-
-
Constructor Summary
Constructors Constructor Description OperationBodyComputationState(ResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, org.eclipse.xtext.common.types.JvmOperation operation)
-
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()-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractLogicalContainerAwareRootComputationState
getMember, getRootExpression
-
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
-
OperationBodyComputationState
public OperationBodyComputationState(ResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, org.eclipse.xtext.common.types.JvmOperation operation)
-
-
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
-
createNoTypeResult
protected ITypeComputationResult createNoTypeResult()
- Specified by:
createNoTypeResultin classAbstractRootTypeComputationState
-
-