org.eclipse.xtend.core.typing
Class ReturnTypeProvider

java.lang.Object
  extended by org.eclipse.xtend.core.typing.ReturnTypeProvider

public class ReturnTypeProvider
extends java.lang.Object

Computes the return type for XtendFunction.

Author:
Sven Efftinge - Initial contribution and API

Constructor Summary
ReturnTypeProvider()
           
 
Method Summary
 JvmTypeReference computeReturnType(XtendFunction function)
           
 JvmTypeReference getDeclaredOrOverriddenReturnType(XtendFunction func)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnTypeProvider

public ReturnTypeProvider()
Method Detail

getDeclaredOrOverriddenReturnType

public JvmTypeReference getDeclaredOrOverriddenReturnType(XtendFunction func)

computeReturnType

public JvmTypeReference computeReturnType(XtendFunction function)