public interface Annotatable
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationType)
Returns the annotation on the model element of the given type, or @code{null}
|
Annotation[] |
getAnnotations()
Returns the model elements' annotations.
|
Annotation[] getAnnotations()
<T extends Annotation> T getAnnotation(Class<T> annotationType)
Copyright © 2002–2018 JUnit. All rights reserved.