Skip to content

Commit 496e571

Browse files
authored
Merge pull request #28 from diffblue/develop
Move ManagedByDiffblue to be an annotation
2 parents 6c30b51 + 00353fb commit 496e571

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/main/java/com/diffblue/cover/annotations/ManagedByDiffblue.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,16 @@
1414
*/
1515
package com.diffblue.cover.annotations;
1616

17+
import static java.lang.annotation.ElementType.METHOD;
18+
import static java.lang.annotation.RetentionPolicy.SOURCE;
19+
20+
import java.lang.annotation.Retention;
21+
import java.lang.annotation.Target;
22+
1723
/**
18-
* Empty interface, identifies a test as managed by Diffblue. Tests annotated with this can be
19-
* removed or updated by Diffblue and so should not be adjusted manually.
24+
* Annotation to identify a test as managed by Diffblue. Tests annotated with this can be removed or
25+
* updated by Diffblue and so should not be adjusted manually.
2026
*/
21-
public interface ManagedByDiffblue {}
27+
@Retention(SOURCE)
28+
@Target(METHOD)
29+
public @interface ManagedByDiffblue {}

0 commit comments

Comments
 (0)