public abstract class AbstractHasAnnotations extends Object implements HasAnnotations
HasAnnotations
.Constructor and Description |
---|
AbstractHasAnnotations() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotation)
Checks if the provided annotation is present on this element (type, method,
field or parameter).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation, getAnnotations
public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
isAnnotationPresent
in interface HasAnnotations
annotation
- the annotation type, must not be null.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.