com.vaadin.fusion.

Annotation Type Nonnull


  • @Documented
     @Retention(value=RUNTIME)
     @Target(value=TYPE_USE)
    public @interface Nonnull

    Annotation to mark either field, method, parameter or type parameter as non-nullable. It is used by Typescript Generator as a source of type nullability information. Since Typescript Generator works with any annotation with case-insensitive `nonnull` name, this annotation exists only for convenience because the traditional `javax.annotation.Nonnull` annotation is not applicable to type parameters.