java.lang.Object
tech.deplant.java4ever.framework.FunctionHandle.Builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Clazz.The Contract.The Debug options.tech.deplant.java4ever.binding.Abi.FunctionHeader
The Function header.The Function inputs.The Function name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build function handle.setContract
(Contract contract) Sets contract.setDebugOptions
(DebugOptions debugOptions) Sets debug options.setFunctionHeader
(tech.deplant.java4ever.binding.Abi.FunctionHeader functionHeader) Sets function header.setFunctionInputs
(Map<String, Object> functionInputs) Sets function inputs.setFunctionName
(String functionName) Sets function name.setReturnClass
(Class clazz) Sets return class.
-
Field Details
-
clazz
The Clazz. -
contract
The Contract. -
functionName
The Function name. -
functionInputs
-
functionHeader
public tech.deplant.java4ever.binding.Abi.FunctionHeader functionHeaderThe Function header. -
debugOptions
The Debug options.
-
-
Constructor Details
-
Builder
-
-
Method Details
-
setReturnClass
Sets return class.- Parameters:
clazz
- the clazz- Returns:
- the return class
-
setContract
Sets contract.- Parameters:
contract
- the contract- Returns:
- the contract
-
setFunctionName
Sets function name.- Parameters:
functionName
- the function name- Returns:
- the function name
-
setFunctionInputs
Sets function inputs.- Parameters:
functionInputs
- the function inputs- Returns:
- the function inputs
-
setFunctionHeader
public FunctionHandle.Builder setFunctionHeader(tech.deplant.java4ever.binding.Abi.FunctionHeader functionHeader) Sets function header.- Parameters:
functionHeader
- the function header- Returns:
- the function header
-
setDebugOptions
Sets debug options.- Parameters:
debugOptions
- the debug options- Returns:
- the debug options
-
build
-