org.eclipse.xtext.xbase.typing
Class Closures
java.lang.Object
org.eclipse.xtext.xbase.typing.Closures
public class Closures
- extends java.lang.Object
- Author:
- Sven Efftinge - Initial contribution and API, Sebastian Zarnekow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Closures
public Closures()
getCompatibleFunctionType
public JvmTypeReference getCompatibleFunctionType(JvmTypeReference original,
boolean instanceContext,
boolean rawType)
- Returns:
- a compatible function type reference or
null
.
findImplementingOperation
public JvmOperation findImplementingOperation(JvmTypeReference closureType,
org.eclipse.emf.ecore.resource.Resource resource)
createRawFunctionTypeRef
public JvmParameterizedTypeReference createRawFunctionTypeRef(org.eclipse.emf.ecore.EObject context,
int parameterCount,
boolean procedure)
createFunctionTypeRef
public JvmTypeReference createFunctionTypeRef(org.eclipse.emf.ecore.EObject context,
java.util.List<JvmTypeReference> parameterTypes,
JvmTypeReference returnType,
boolean instanceContext)