Package de.learnlib.driver.reflect
Class MethodInput
- java.lang.Object
-
- de.learnlib.driver.reflect.MethodInput
-
- All Implemented Interfaces:
ContextExecutableInput<MethodOutput,Object>
public class MethodInput extends Object implements ContextExecutableInput<MethodOutput,Object>
An input symbol that represents a call to a method with a specific set of parameters.
-
-
Constructor Summary
Constructors Constructor Description MethodInput(String displayName, Method method, Object[] parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodOutput
execute(Object context)
Executesthis
input symbol with a given context.String
toString()
-
-
-
Method Detail
-
execute
public MethodOutput execute(Object context)
Description copied from interface:ContextExecutableInput
Executesthis
input symbol with a given context.- Specified by:
execute
in interfaceContextExecutableInput<MethodOutput,Object>
- Parameters:
context
- the context forthis
input symbol- Returns:
- the output generated by the
SUL
-
-