diff --git a/src/main/java/com/epam/reportportal/annotations/Description.java b/src/main/java/com/epam/reportportal/annotations/Description.java index 91223d62..eef28f15 100644 --- a/src/main/java/com/epam/reportportal/annotations/Description.java +++ b/src/main/java/com/epam/reportportal/annotations/Description.java @@ -26,7 +26,7 @@ * This annotation should be handled in priority to other mechanisms of existing test frameworks. */ @Retention(RetentionPolicy.RUNTIME) -@Target({ ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE }) +@Target({ ElementType.METHOD, ElementType.TYPE }) public @interface Description { /** diff --git a/src/main/java/com/epam/reportportal/annotations/DisplayName.java b/src/main/java/com/epam/reportportal/annotations/DisplayName.java index c20f35a8..633a4e17 100644 --- a/src/main/java/com/epam/reportportal/annotations/DisplayName.java +++ b/src/main/java/com/epam/reportportal/annotations/DisplayName.java @@ -26,7 +26,7 @@ * This annotation should be handled in priority to other mechanisms of existing test frameworks. */ @Retention(RetentionPolicy.RUNTIME) -@Target({ ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE }) +@Target({ ElementType.METHOD, ElementType.TYPE }) public @interface DisplayName { /** diff --git a/src/main/java/com/epam/reportportal/annotations/TmsLink.java b/src/main/java/com/epam/reportportal/annotations/TmsLink.java index b74f4b04..0c4c55d7 100644 --- a/src/main/java/com/epam/reportportal/annotations/TmsLink.java +++ b/src/main/java/com/epam/reportportal/annotations/TmsLink.java @@ -25,7 +25,7 @@ @Documented @Inherited @Retention(RetentionPolicy.RUNTIME) -@Target({ ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE }) +@Target({ ElementType.METHOD, ElementType.TYPE }) @Repeatable(TmsLinks.class) public @interface TmsLink { diff --git a/src/main/java/com/epam/reportportal/annotations/TmsLinks.java b/src/main/java/com/epam/reportportal/annotations/TmsLinks.java index 96b78a8a..97b391bf 100644 --- a/src/main/java/com/epam/reportportal/annotations/TmsLinks.java +++ b/src/main/java/com/epam/reportportal/annotations/TmsLinks.java @@ -24,7 +24,7 @@ @Documented @Inherited @Retention(RetentionPolicy.RUNTIME) -@Target({ ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE }) +@Target({ ElementType.METHOD, ElementType.TYPE }) public @interface TmsLinks { TmsLink[] value(); }