MCPcopy Index your code
hub / github.com/GCMiner/GCMiner / get_ClassName

Method get_ClassName

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

Source from the content-addressed store, hash-verified

42 }
43
44 public String get_ClassName (JsonNode results, int chain_id, int node_id) {
45 JsonNode ClassName = results.get(chain_id).get("ClassName");
46 String classname = null;
47 for (int i=0; i<ClassName.size(); i++) {
48 if (ClassName.get(i).get("id").intValue() == node_id) {
49 classname = ClassName.get(i).get("value").textValue();
50 break;
51 }
52 }
53 return classname;
54 }
55
56 public String get_MethodName (JsonNode results, int chain_id, int node_id) {
57 JsonNode MethodName = results.get(chain_id).get("MethodName");

Callers 1

isGadgetChainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected