-
- All Implemented Interfaces:
@Target(allowedTargets = {AnnotationTarget.CLASS}) public @interface Generated
Annotation to automatically exclude auto-generated client code from JaCoCo reports.
Starting with JaCoCo 8.3, classes and methods annotated with
@Generated
annotation that has RUNTIME retention will be excluded from code coverage report. We are using custom annotation instead ofjavax.annotation.Generated
orjavax.annotation.processing.Generated
as their retention policy is just SOURCE.