diff --git a/src/main/java/com/diffblue/cover/annotations/ManagedByDiffblue.java b/src/main/java/com/diffblue/cover/annotations/ManagedByDiffblue.java index 5887dc9..57a0c9b 100644 --- a/src/main/java/com/diffblue/cover/annotations/ManagedByDiffblue.java +++ b/src/main/java/com/diffblue/cover/annotations/ManagedByDiffblue.java @@ -14,8 +14,16 @@ */ package com.diffblue.cover.annotations; +import static java.lang.annotation.ElementType.METHOD; +import static java.lang.annotation.RetentionPolicy.SOURCE; + +import java.lang.annotation.Retention; +import java.lang.annotation.Target; + /** - * Empty interface, identifies a test as managed by Diffblue. Tests annotated with this can be - * removed or updated by Diffblue and so should not be adjusted manually. + * Annotation to identify a test as managed by Diffblue. Tests annotated with this can be removed or + * updated by Diffblue and so should not be adjusted manually. */ -public interface ManagedByDiffblue {} +@Retention(SOURCE) +@Target(METHOD) +public @interface ManagedByDiffblue {}