Class Nullability
org.elasticsearch.common.inject.internal.Nullability
public class Nullability
extends
Whether a member supports null values injected.
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 annotation and IntelliJ IDEA's .
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
[] annotations)
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Method Details
-
allowsNull
public static boolean allowsNull([] annotations)
-