-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8602980
commit bac4895
Showing
3 changed files
with
67 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 16 additions & 11 deletions
27
tests/minimized/src/main/java/minimized/AnnotationParameters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
package minimized; | ||
|
||
|
||
@interface Bar { | ||
double value(); | ||
double value(); | ||
} | ||
|
||
@interface BarB { | ||
boolean value(); | ||
boolean value(); | ||
} | ||
|
||
@interface Nullable { | ||
String value() default ""; | ||
} | ||
|
||
interface Foo { | ||
@Bar(-1d) | ||
double test(); | ||
@Bar(-1d) | ||
double test(); | ||
|
||
@Bar(~5) | ||
@SuppressWarnings(value = "unchecked") | ||
double test2(); | ||
@Bar(~5) | ||
@SuppressWarnings(value = "unchecked") | ||
double test2(); | ||
|
||
@BarB(!true) | ||
double test3(); | ||
} | ||
@BarB(!true) | ||
double test3(); | ||
|
||
@Nullable(("what")) | ||
Foo test4(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters