Package ai.reveng.model
Class FunctionMapping
java.lang.Object
ai.reveng.model.FunctionMapping
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class FunctionMapping
extends Object
FunctionMapping
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FunctionMappingCreate an instance of FunctionMapping given an JSON stringfunctionMap(Map<String, Integer> functionMap) Mapping of remote function ids to local function addressesMapping of local function addresses to remote function idsMapping of local function addresses to mangled namesinthashCode()inverseFunctionMap(Map<String, Integer> inverseFunctionMap) putFunctionMapItem(String key, Integer functionMapItem) putInverseFunctionMapItem(String key, Integer inverseFunctionMapItem) putNameMapItem(String key, String nameMapItem) voidsetFunctionMap(Map<String, Integer> functionMap) voidsetInverseFunctionMap(Map<String, Integer> inverseFunctionMap) voidsetNameMap(Map<String, String> nameMap) toJson()Convert an instance of FunctionMapping to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FUNCTION_MAP
- See Also:
-
SERIALIZED_NAME_INVERSE_FUNCTION_MAP
- See Also:
-
SERIALIZED_NAME_NAME_MAP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FunctionMapping
public FunctionMapping()
-
-
Method Details
-
functionMap
-
putFunctionMapItem
-
getFunctionMap
Mapping of remote function ids to local function addresses- Returns:
- functionMap
-
setFunctionMap
-
inverseFunctionMap
-
putInverseFunctionMapItem
-
getInverseFunctionMap
Mapping of local function addresses to remote function ids- Returns:
- inverseFunctionMap
-
setInverseFunctionMap
-
nameMap
-
putNameMapItem
-
getNameMap
Mapping of local function addresses to mangled names- Returns:
- nameMap
-
setNameMap
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to FunctionMapping
-
fromJson
Create an instance of FunctionMapping given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FunctionMapping
- Throws:
IOException- if the JSON string is invalid with respect to FunctionMapping
-
toJson
Convert an instance of FunctionMapping to an JSON string- Returns:
- JSON string
-