public final class BindingAnnotations extends Object
Supported binding annotations are BindingAnnotation
and Qualifier
BindingAnnotation
,
Qualifier
Modifier and Type | Method and Description |
---|---|
static Class<? extends Annotation> |
checkIsBindingAnnotation(Class<? extends Annotation> annotation)
Returns
annotation if it is a Guice binding annotation. |
static boolean |
isBindingAnnotation(Class<? extends Annotation> annotation)
Returns true if
annotation is a Guice binding annotation; false otherwise. |
public static boolean isBindingAnnotation(Class<? extends Annotation> annotation)
annotation
is a Guice binding annotation; false otherwise.public static Class<? extends Annotation> checkIsBindingAnnotation(Class<? extends Annotation> annotation)
annotation
if it is a Guice binding annotation.IllegalArgumentException
- if annotation
is not a Guice binding annotationCopyright © 2018 Cerner Innovation, Inc.. All rights reserved.