@Test void testNothingComponentLike() { assertThrows(IllegalStateException.class, () -> LinearComponents.linear(TextDecoration.BOLD)); assertThrows(IllegalStateException.class, () -> LinearComponents.linear(TextDecoration.BOLD, TextColor.color(0xaa0000))); }
private static IllegalStateException nothingComponentLike() { return new IllegalStateException("Cannot build component linearly - nothing component-like was given"); }
LinearComponents { private static IllegalStateException nothingComponentLike() { return new IllegalStateException("Cannot build component linearly - nothing component-like was given"); } }
LinearComponents { private static IllegalStateException nothingComponentLike() { return new IllegalStateException("Cannot build component linearly - nothing component-like was given"); } private  LinearComponents(); }
LinearComponents { private static IllegalStateException nothingComponentLike() { return new IllegalStateException("Cannot build component linearly - nothing component-like was given"); } private  LinearComponents(); static @NonNull Component linear(final @NonNull ComponentBuilderApplicable@NonNull... applicables); }
LinearComponents { private static IllegalStateException nothingComponentLike() { return new IllegalStateException("Cannot build component linearly - nothing component-like was given"); } private  LinearComponents(); static @NonNull Component linear(final @NonNull ComponentBuilderApplicable@NonNull... applicables);  }