@Test void addsAllClassMethodsInAnObject() { ArrayEntry.Builder builder = new ArrayEntry.Builder(); builder.setElementType(String.class); ArrayEntry entry = builder.build(); StringBuilder descBuilder = new StringBuilder(); entry.createDescription(descBuilder); assertThat(descBuilder.toString()).isEqualTo("{\"--type\":\"array\",\"--elementType\":\"java.lang.String\"}"); }
@Override protected void createDescription(StringBuilder builder) { builder.append("{"); builder.append("\"--type\":\"array\",\"--elementType\":\"").append(elementType.getName()).append("\""); builder.append("}"); }
ArrayEntry extends ApiEntry { @Override protected void createDescription(StringBuilder builder) { builder.append("{"); builder.append("\"--type\":\"array\",\"--elementType\":\"").append(elementType.getName()).append("\""); builder.append("}"); } }
ArrayEntry extends ApiEntry { @Override protected void createDescription(StringBuilder builder) { builder.append("{"); builder.append("\"--type\":\"array\",\"--elementType\":\"").append(elementType.getName()).append("\""); builder.append("}"); } private  ArrayEntry(); }
ArrayEntry extends ApiEntry { @Override protected void createDescription(StringBuilder builder) { builder.append("{"); builder.append("\"--type\":\"array\",\"--elementType\":\"").append(elementType.getName()).append("\""); builder.append("}"); } private  ArrayEntry(); Class<?> getElementType(); }
ArrayEntry extends ApiEntry { @Override protected void createDescription(StringBuilder builder) { builder.append("{"); builder.append("\"--type\":\"array\",\"--elementType\":\"").append(elementType.getName()).append("\""); builder.append("}"); } private  ArrayEntry(); Class<?> getElementType();  }