Skip to content

Commit ca586b0

Browse files
author
Maria Kusber
committed
Change retention to source
This info is only needed on source code level
1 parent 5c05337 commit ca586b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/diffblue/cover/annotations/generated/MethodUnderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package com.diffblue.cover.annotations.generated;
1616

1717
import static java.lang.annotation.ElementType.METHOD;
18-
import static java.lang.annotation.RetentionPolicy.RUNTIME;
18+
import static java.lang.annotation.RetentionPolicy.SOURCE;
1919

2020
import java.lang.annotation.Retention;
2121
import java.lang.annotation.Target;
@@ -24,7 +24,7 @@
2424
* Indicates the method being tested in the annotated test method. Diffblue Cover attaches this
2525
* annotation to all tests that it creates.
2626
*/
27-
@Retention(RUNTIME)
27+
@Retention(SOURCE)
2828
@Target(METHOD)
2929
public @interface MethodUnderTest {
3030

0 commit comments

Comments
 (0)