Skip to content

Commit

Permalink
Issue #46: Use another annotation type (non-TYPE) for better test cov…
Browse files Browse the repository at this point in the history
…erage
  • Loading branch information
uschindler committed Dec 26, 2014
1 parent c01b859 commit b634d3f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified src/test/antunit/Java8Annotations$ClassFileOnly.class
Binary file not shown.
Binary file modified src/test/antunit/Java8Annotations.class
Binary file not shown.
2 changes: 1 addition & 1 deletion src/test/antunit/Java8Annotations.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ public InnerClassWithCtorParam(@FooBar X param) {
static @interface FooBar {}

@Retention(value=RetentionPolicy.CLASS)
@Target({ElementType.TYPE_USE, ElementType.PARAMETER, ElementType.METHOD, ElementType.TYPE})
@Target({ElementType.FIELD, ElementType.METHOD})
static @interface ClassFileOnly {}
}

0 comments on commit b634d3f

Please sign in to comment.