Class Nullability
- java.lang.Object
-
- org.elasticsearch.common.inject.internal.Nullability
-
public class Nullability extends java.lang.ObjectWhether a member supports null values injected.Support for
Nullableannotations 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.
-
-
Method Summary
Modifier and Type Method Description static booleanallowsNull(java.lang.annotation.Annotation[] annotations)
-