-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix exception reporting in javac plugin Without closing the print writer, empty message was produced. * (root cause) add unary tree to semanticdb and handle it * Allow regenerating a subset of snapshots * Add link to JLS
- Loading branch information
1 parent
b8c11c4
commit 8602980
Showing
8 changed files
with
190 additions
and
4 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
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
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
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
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
23 changes: 23 additions & 0 deletions
23
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package minimized; | ||
|
||
|
||
@interface Bar { | ||
double value(); | ||
} | ||
|
||
@interface BarB { | ||
boolean value(); | ||
} | ||
|
||
interface Foo { | ||
@Bar(-1d) | ||
double test(); | ||
|
||
@Bar(~5) | ||
@SuppressWarnings(value = "unchecked") | ||
double test2(); | ||
|
||
@BarB(!true) | ||
double test3(); | ||
} | ||
|
54 changes: 54 additions & 0 deletions
54
...hots/src/main/generated/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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package minimized; | ||
|
||
|
||
@interface Bar { | ||
// ^^^ definition semanticdb maven . . minimized/Bar# | ||
// display_name Bar | ||
// signature_documentation java @interface Bar | ||
// kind Interface | ||
// relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation# | ||
double value(); | ||
} | ||
|
||
@interface BarB { | ||
// ^^^^ definition semanticdb maven . . minimized/BarB# | ||
// display_name BarB | ||
// signature_documentation java @interface BarB | ||
// kind Interface | ||
// relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation# | ||
boolean value(); | ||
} | ||
|
||
interface Foo { | ||
// ^^^ definition semanticdb maven . . minimized/Foo# | ||
// display_name Foo | ||
// signature_documentation java interface Foo | ||
// kind Interface | ||
@Bar(-1d) | ||
// ^^^ reference semanticdb maven . . minimized/Bar# | ||
double test(); | ||
// ^^^^ definition semanticdb maven . . minimized/Foo#test(). | ||
// display_name test | ||
// signature_documentation java @Bar(-1.0)\npublic abstract double test() | ||
// kind AbstractMethod | ||
|
||
@Bar(~5) | ||
// ^^^ reference semanticdb maven . . minimized/Bar# | ||
@SuppressWarnings(value = "unchecked") | ||
// ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# | ||
// ^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings#value(). | ||
double test2(); | ||
// ^^^^^ definition semanticdb maven . . minimized/Foo#test2(). | ||
// display_name test2 | ||
// signature_documentation java @Bar(~5)\n@SuppressWarnings("unchecked")\npublic abstract double test2() | ||
// kind AbstractMethod | ||
|
||
@BarB(!true) | ||
// ^^^^ reference semanticdb maven . . minimized/BarB# | ||
double test3(); | ||
// ^^^^^ definition semanticdb maven . . minimized/Foo#test3(). | ||
// display_name test3 | ||
// signature_documentation java @BarB(!true)\npublic abstract double test3() | ||
// kind AbstractMethod | ||
} | ||
|
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