public class UnknownClosureTypeHelper extends AbstractClosureTypeHelper
Modifier | Constructor and Description |
---|---|
protected |
UnknownClosureTypeHelper(XClosure closure,
ITypeExpectation expectation,
ITypeComputationState state) |
Modifier and Type | Method and Description |
---|---|
protected ITypeComputationState |
assignParameters(ITypeAssigner typeAssigner) |
protected void |
computeTypes() |
protected ITypeComputationState |
getClosureBodyTypeComputationState(ITypeAssigner typeAssigner) |
FunctionTypeReference |
getExpectedClosureType()
This method is only public for testing purpose.
|
JvmOperation |
getOperation()
This method is only public for testing purpose.
|
java.util.List<JvmFormalParameter> |
getParameters()
Returns the effective list of parameters.
|
applyToModel, deferredBindTypeArgument, getClosure, getExpectation, getServices, getState, validate
protected UnknownClosureTypeHelper(XClosure closure, ITypeExpectation expectation, ITypeComputationState state)
protected void computeTypes()
computeTypes
in class AbstractClosureTypeHelper
public FunctionTypeReference getExpectedClosureType()
AbstractClosureTypeHelper
getExpectedClosureType
in class AbstractClosureTypeHelper
public JvmOperation getOperation()
AbstractClosureTypeHelper
getOperation
in class AbstractClosureTypeHelper
protected ITypeComputationState getClosureBodyTypeComputationState(ITypeAssigner typeAssigner)
public java.util.List<JvmFormalParameter> getParameters()
IClosureCandidate
getParameters
in interface IClosureCandidate
getParameters
in class AbstractClosureTypeHelper
protected ITypeComputationState assignParameters(ITypeAssigner typeAssigner)