MCPcopy Create free account
hub / github.com/GCMiner/GCMiner / get_MethodName

Method get_MethodName

src/main/java/ChainValidatiton/Test.java:54–64  ·  view source on GitHub ↗
(JsonNode results, int chain_id, int node_id)

Source from the content-addressed store, hash-verified

52 }
53
54 public static String get_MethodName(JsonNode results, int chain_id, int node_id) {
55 JsonNode MethodName = results.get(chain_id).get("MethodName");
56 String methodname = null;
57 for (int i=0; i<MethodName.size(); i++) {
58 if (MethodName.get(i).get("id").intValue() == node_id) {
59 methodname = MethodName.get(i).get("value").textValue();
60 break;
61 }
62 }
63 return methodname;
64 }
65
66 public static <classname> Object object_init(String classname) throws Exception {
67

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected