Support for Nullable annotations in Guice is loose. Any annotation type whose
simplename is "Nullable" is sufficient to indicate support for null values injected.
This allows support for JSR-305's javax.annotation.meta.Nullable annotation and IntelliJ IDEA's org.jetbrains.annotations.Nullable.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | hasNullableAnnotation(Annotation[] annotations)
Returns true if the given annotation array contains an annotation named |
| Nullability | back to summary |
|---|---|
| private Nullability() | |
| hasNullableAnnotation | back to summary |
|---|---|
| public static boolean hasNullableAnnotation(Annotation[] annotations) Returns true if the given annotation array contains an annotation named | |