List<String> (@NotNull Nullability nullability) { return switch (nullability) { case NOT_NULL -> Collections.singletonList(JAVAX_ANNOTATION_NONNULL); case NULLABLE -> Arrays.asList(JAVAX_ANNOTATION_NULLABLE, "javax.annotation.CheckForNull"); case UNKNOWN -> Collections.emptyList(); }; }