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

Method get_MethodName

src/main/java/com/ReadChain.java:56–66  ·  view source on GitHub ↗
(JsonNode results, int chain_id, int node_id)

Source from the content-addressed store, hash-verified

54 }
55
56 public String get_MethodName (JsonNode results, int chain_id, int node_id) {
57 JsonNode MethodName = results.get(chain_id).get("MethodName");
58 String methodname = null;
59 for (int i=0; i<MethodName.size(); i++) {
60 if (MethodName.get(i).get("id").intValue() == node_id) {
61 methodname = MethodName.get(i).get("value").textValue();
62 break;
63 }
64 }
65 return methodname;
66 }
67
68 public int[] get_ReflectClassId (JsonNode Edges, int edge_id) {
69 int[] result_list = new int[2];

Callers 1

isGadgetChainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected