| 40 | return laststr.toString(); |
| 41 | } |
| 42 | public static String get_ClassName(JsonNode results, int chain_id, int node_id) { |
| 43 | JsonNode ClassName = results.get(chain_id).get("ClassName"); |
| 44 | String classname = null; |
| 45 | for (int i=0; i<ClassName.size(); i++) { |
| 46 | if (ClassName.get(i).get("id").intValue() == node_id) { |
| 47 | classname = ClassName.get(i).get("value").textValue(); |
| 48 | break; |
| 49 | } |
| 50 | } |
| 51 | return classname; |
| 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"); |