public abstract class AbstractClosureTypeHelper
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractClosureTypeHelper(XClosure closure,
ITypeExpectation expectation,
ITypeComputationState state) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
computeTypes() |
protected void |
deferredBindTypeArgument(LightweightTypeReference declared,
LightweightTypeReference actual,
BoundTypeArgumentSource source) |
protected XClosure |
getClosure() |
protected ITypeExpectation |
getExpectation() |
abstract FunctionTypeReference |
getExpectedClosureType()
This method is only public for testing purpose.
|
abstract JvmOperation |
getOperation()
This method is only public for testing purpose.
|
protected CommonTypeComputationServices |
getServices() |
protected ITypeComputationState |
getState() |
protected AbstractClosureTypeHelper(XClosure closure, ITypeExpectation expectation, ITypeComputationState state)
protected ITypeComputationState getState()
protected ITypeExpectation getExpectation()
protected XClosure getClosure()
protected CommonTypeComputationServices getServices()
protected abstract void computeTypes()
public abstract FunctionTypeReference getExpectedClosureType()
public abstract JvmOperation getOperation()
protected void deferredBindTypeArgument(LightweightTypeReference declared, LightweightTypeReference actual, BoundTypeArgumentSource source)