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

java.lang.Object
  extended by org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeExpectation
      extended by org.eclipse.xtext.xbase.typesystem.internal.AbstractReturnAwareTypeExpectation
All Implemented Interfaces:
ITypeExpectation
Direct Known Subclasses:
NoExpectation, ObservableTypeExpectation, TypeExpectation

public abstract class AbstractReturnAwareTypeExpectation
extends AbstractTypeExpectation

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
protected AbstractReturnAwareTypeExpectation(AbstractTypeComputationState state, boolean returnType)
           
 
Method Summary
 void acceptActualType(JvmTypeReference type, ConformanceHint conformanceHint)
           
 
Methods inherited from class org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeExpectation
getState, isVoidTypeAllowed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.computation.ITypeExpectation
getExpectedType, isNoTypeExpectation
 

Constructor Detail

AbstractReturnAwareTypeExpectation

protected AbstractReturnAwareTypeExpectation(AbstractTypeComputationState state,
                                             boolean returnType)
Method Detail

acceptActualType

public void acceptActualType(JvmTypeReference type,
                             ConformanceHint conformanceHint)