Skip to content

Commit 153ecb7

Browse files
committed
[Core] Restrict StepDefAnnotation to Annotations
Fixes cucumber#1437
1 parent e2d0a37 commit 153ecb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/main/java/cucumber/runtime/java/StepDefAnnotation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
import java.lang.annotation.Target;
77

88
@Retention(RetentionPolicy.RUNTIME)
9-
@Target(ElementType.TYPE)
9+
@Target(ElementType.ANNOTATION_TYPE)
1010
public @interface StepDefAnnotation {
1111
}

0 commit comments

Comments
 (0)