List<String> (@NotNull Nullability nullability) { return switch (nullability) { case NOT_NULL -> Collections.singletonList(AnnotationUtil.NOT_NULL); case NULLABLE -> Collections.singletonList(AnnotationUtil.NULLABLE); case UNKNOWN -> Collections.singletonList(AnnotationUtil.UNKNOWN_NULLABILITY); }; }