JavaScript is disabled on your browser.
  • Summary:
  • Required |
  • Optional
  • Detail:
  • Element
javax.annotation

Annotation Type ParametersAreNullableByDefault



  • @Documented
    @Nullable
    @TypeQualifierDefault(value=PARAMETER)
    @Retention(value=RUNTIME)
    public @interface ParametersAreNullableByDefault
    This annotation can be applied to a package, class or method to indicate that the method parameters in that element are nullable by default unless there is:
    • An explicit nullness annotation
    • The method overrides a method in a superclass (in which case the annotation of the corresponding parameter in the superclass applies)
    • there is a default parameter annotation applied to a more tightly nested element.

    This annotation implies the same "nullness" as no annotation. However, it is different than having no annotation, as it is inherited and it can override a ParametersAreNonnullByDefault annotation at an outer scope.

  • Summary:
  • Required |
  • Optional
  • Detail:
  • Element

Copyright © 2015. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /