@Test public void returnsAppropriateType() { ListShape shape = ListShape.builder() .id("ns.foo#bar") .member(MemberShape.builder().id("ns.foo#bar$member").target("ns.foo#bam").build()) .build(); assertEquals(shape.getType(), ShapeType.LIST); }
public static Builder builder() { return new Builder(); }
ListShape extends CollectionShape implements ToSmithyBuilder<ListShape> { public static Builder builder() { return new Builder(); } }
ListShape extends CollectionShape implements ToSmithyBuilder<ListShape> { public static Builder builder() { return new Builder(); } private  ListShape(Builder builder); }
ListShape extends CollectionShape implements ToSmithyBuilder<ListShape> { public static Builder builder() { return new Builder(); } private  ListShape(Builder builder); static Builder builder(); @Override Builder toBuilder(); @Override R accept(ShapeVisitor<R> cases); @Override Optional<ListShape> asListShape(); }
ListShape extends CollectionShape implements ToSmithyBuilder<ListShape> { public static Builder builder() { return new Builder(); } private  ListShape(Builder builder); static Builder builder(); @Override Builder toBuilder(); @Override R accept(ShapeVisitor<R> cases); @Override Optional<ListShape> asListShape();  }