Package spoon.pattern.internal.parameter
Interface ParameterComputer
- All Known Implementing Classes:
SimpleNameOfTypeReferenceParameterComputer
public interface ParameterComputer
Computes a value of
ComputedParameterInfo
I - type of input value
O - type of computed value-
Method Summary
Modifier and TypeMethodDescriptionvoid
computeValue(ResultHolder<Object> outputHolder, ResultHolder<?> inputHolder)
ResultHolder<?>
getName()
-
Method Details
-
getName
String getName()- Returns:
- user friendly name of this computer
-
createInputHolder
ResultHolder<?> createInputHolder()- Returns:
- holder for input value
-
computeValue
- Parameters:
outputHolder
- holds result of computationinputHolder
- holds input of computation
-