com.signalfx.shaded.javax.annotation.ParametersAreNonnullByDefault Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalfx-codahale Show documentation
Show all versions of signalfx-codahale Show documentation
Dropwizard Codahale metrics plugin for signalfx
The newest version!
package com.signalfx.shaded.javax.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import com.signalfx.shaded.javax.annotation.meta.TypeQualifierDefault;
/**
* This annotation can be applied to a package, class or method to indicate that
* the method parameters in that element are nonnull 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 (like {@link ParametersAreNullableByDefault})
* applied to a more tightly nested element.
*
*
* @see Nonnull
*/
@Documented
@Nonnull
@TypeQualifierDefault(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface ParametersAreNonnullByDefault {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy