org.eclipse.xtext.xbase.typesystem.internal
Class ConstructorBodyComputationState

java.lang.Object
  extended by org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
      extended by org.eclipse.xtext.xbase.typesystem.internal.AbstractRootTypeComputationState
          extended by org.eclipse.xtext.xbase.typesystem.internal.AbstractLogicalContainerAwareRootComputationState
              extended by org.eclipse.xtext.xbase.typesystem.internal.ConstructorBodyComputationState
All Implemented Interfaces:
ITypeComputationState, ITypeComputationState.Fork

@NonNullByDefault
public class ConstructorBodyComputationState
extends AbstractLogicalContainerAwareRootComputationState

Author:
Sebastian Zarnekow - Initial contribution and API TODO JavaDoc, toString

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
AbstractTypeComputationState.TypeAssigner
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.xbase.typesystem.computation.ITypeComputationState
ITypeComputationState.Fork
 
Constructor Summary
ConstructorBodyComputationState(ResolvedTypes resolvedTypes, IFeatureScopeSession featureScopeSession, JvmConstructor constructor, LogicalContainerAwareReentrantTypeResolver reentrantTypeResolver)
           
 
Method Summary
protected  java.util.List<ITypeExpectation> getExpectations(AbstractTypeComputationState actualState, boolean returnType)
           
protected  JvmConstructor getMember()
           
 
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractLogicalContainerAwareRootComputationState
getResolver, getRootExpression
 
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractRootTypeComputationState
acceptType, computeTypes, getImmediateExpectations, getReturnExpectations
 
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeComputationState
acceptActualType, addLocalToCurrentScope, assignType, assignTypes, computeTypes, computeTypes, computeTypesWithoutMerge, createCandidate, createCandidate, createExpressionComputationState, createTypeAssigner, discardReassignedTypes, fork, getFeatureScopeSession, getImmediateExpectations, getLinkingCandidates, getLinkingCandidates, getResolvedTypes, getReturnExpectations, getServices, getType, getTypeArgumentMerger, getTypeComputer, getTypeReferences, reassignType, withExpectation, withNonVoidExpectation, withoutExpectation, withoutImmediateExpectation, withReturnExpectation, withTypeCheckpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorBodyComputationState

public ConstructorBodyComputationState(ResolvedTypes resolvedTypes,
                                       IFeatureScopeSession featureScopeSession,
                                       JvmConstructor constructor,
                                       LogicalContainerAwareReentrantTypeResolver reentrantTypeResolver)
Method Detail

getMember

protected JvmConstructor getMember()
Overrides:
getMember in class AbstractLogicalContainerAwareRootComputationState

getExpectations

protected java.util.List<ITypeExpectation> getExpectations(AbstractTypeComputationState actualState,
                                                           boolean returnType)
Specified by:
getExpectations in class AbstractRootTypeComputationState