public class Nullability extends Object
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.
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static boolean |
allowsNull(Annotation[] annotations) |
public static boolean allowsNull(Annotation[] annotations)
Copyright © 2009–2016. All rights reserved.