CallStringBuilder { public String build() { bindParams = new ArrayList<>(); StringBuilder callString = new StringBuilder(); addLine(callString, ""); addLine(callString, "DECLARE "); generateBooleanInputParameters(callString); addLine(callString, "BEGIN "); generateCall(callString); generateBooleanOutputParameters(callString); addLine(callString, "END;"); callString.append("\"\""); return callString.toString(); } CallStringBuilder(Procedure procedure); String build(); List<BindParam> getBindParams();  }
@Test public void testBuild1() { String callString = new CallStringBuilder(p).build(); System.out.println(callString); System.out.println(p.getReturnJavaType()); }