(JsonNode results, int chain_id, int node_id)
| 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 |