@Test @DisplayName("be constructed from `FieldDeclaration`") void initFromFieldDeclaration() { FieldDescriptor field = TaskView.getDescriptor() .getFields() .get(0); FieldDeclaration fieldDeclaration = new FieldDeclaration(field); ColumnName columnName = ColumnName.of(fieldDeclaration); assertThat(columnName.value()).isEqualTo(field.getName()); }
public static ColumnName of(String value) { checkNotEmptyOrBlank(value); return new ColumnName(value); }
ColumnName extends StringTypeValue { public static ColumnName of(String value) { checkNotEmptyOrBlank(value); return new ColumnName(value); } }
ColumnName extends StringTypeValue { public static ColumnName of(String value) { checkNotEmptyOrBlank(value); return new ColumnName(value); } private  ColumnName(String value); }
ColumnName extends StringTypeValue { public static ColumnName of(String value) { checkNotEmptyOrBlank(value); return new ColumnName(value); } private  ColumnName(String value); static ColumnName of(String value); static ColumnName of(StorageField storageField); static ColumnName of(FieldDeclaration field); }
ColumnName extends StringTypeValue { public static ColumnName of(String value) { checkNotEmptyOrBlank(value); return new ColumnName(value); } private  ColumnName(String value); static ColumnName of(String value); static ColumnName of(StorageField storageField); static ColumnName of(FieldDeclaration field);  }