@Test public void testCreateValidParamName() { assertThat(createValidParamName("param", 1), is("param")); assertThat(createValidParamName("", 1), is("param1")); }
static String createValidParamName(String name, int idx) { if (name.equals("")) { return "param" + idx; } else { return name; } }
SolidityFunctionWrapper extends Generator { static String createValidParamName(String name, int idx) { if (name.equals("")) { return "param" + idx; } else { return name; } } }
SolidityFunctionWrapper extends Generator { static String createValidParamName(String name, int idx) { if (name.equals("")) { return "param" + idx; } else { return name; } } SolidityFunctionWrapper(boolean useNativeJavaTypes); }
SolidityFunctionWrapper extends Generator { static String createValidParamName(String name, int idx) { if (name.equals("")) { return "param" + idx; } else { return name; } } SolidityFunctionWrapper(boolean useNativeJavaTypes); @SuppressWarnings("unchecked") void generateJavaFiles(
            String contractName, String bin, String abi, String destinationDir,
            String basePackageName); }
SolidityFunctionWrapper extends Generator { static String createValidParamName(String name, int idx) { if (name.equals("")) { return "param" + idx; } else { return name; } } SolidityFunctionWrapper(boolean useNativeJavaTypes); @SuppressWarnings("unchecked") void generateJavaFiles(
            String contractName, String bin, String abi, String destinationDir,
            String basePackageName);  }