@Test void assertBuildThrowsWithoutRequiredTypesField() { Assertions.assertThrows(IllegalStateException.class, () -> { ShapeLink.builder() .addTag("tag") .file("file") .id("id") .line(1) .column(2) .build(); }); }
public static Builder builder() { return new Builder(); }
ShapeLink implements ToNode, ToSmithyBuilder<ShapeLink> { public static Builder builder() { return new Builder(); } }
ShapeLink implements ToNode, ToSmithyBuilder<ShapeLink> { public static Builder builder() { return new Builder(); } private  ShapeLink(Builder builder); }
ShapeLink implements ToNode, ToSmithyBuilder<ShapeLink> { public static Builder builder() { return new Builder(); } private  ShapeLink(Builder builder); static ShapeLink fromNode(Node value); static Builder builder(); @Override ObjectNode toNode(); String getType(); String getId(); List<String> getTags(); Optional<String> getFile(); Optional<Integer> getLine(); Optional<Integer> getColumn(); @Override Builder toBuilder(); }
ShapeLink implements ToNode, ToSmithyBuilder<ShapeLink> { public static Builder builder() { return new Builder(); } private  ShapeLink(Builder builder); static ShapeLink fromNode(Node value); static Builder builder(); @Override ObjectNode toNode(); String getType(); String getId(); List<String> getTags(); Optional<String> getFile(); Optional<Integer> getLine(); Optional<Integer> getColumn(); @Override Builder toBuilder(); static final String TYPE_TEXT; static final String ID_TEXT; static final String TAGS_TEXT; static final String FILE_TEXT; static final String LINE_TEXT; static final String COLUMN_TEXT; }