Class AnnotationSupport

java.lang.Object
org.junit.platform.commons.support.AnnotationSupport

@API(status=MAINTAINED, since="1.0") public final class AnnotationSupport extends Object
AnnotationSupport provides static utility methods for common tasks regarding annotations — for example, checking if a class, method, or field is annotated with a particular annotation; finding annotations on a given class, method, or field; finding fields or methods annotated with a particular annotation, etc.

TestEngine and extension authors are encouraged to use these supported methods in order to align with the behavior of the JUnit Platform.

Since:
1.0
See Also:
ClassSupport, ModifierSupport, ReflectionSupport