-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fixes #3761] Update annotation value index
- Loading branch information
Showing
5 changed files
with
29 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
14 changes: 14 additions & 0 deletions
14
test/transform/resource/before/EqualsAndHashCodeOfAndExcludeError.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,14 @@ | ||
// skip-compare-contents | ||
@lombok.EqualsAndHashCode(of={"x", Const.A}) | ||
final class EqualsAndHashCodeErrorOf { | ||
int x; | ||
} | ||
|
||
@lombok.EqualsAndHashCode(exclude={"x", Const.A}) | ||
final class EqualsAndHashCodeErrorExclude { | ||
int x; | ||
} | ||
|
||
class Const { | ||
static final String A = "A"; | ||
} |
2 changes: 2 additions & 0 deletions
2
test/transform/resource/messages-delombok/EqualsAndHashCodeOfAndExcludeError.java.messages
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,2 @@ | ||
2:60 You must use constant literals in lombok annotations; they cannot be references to (static) fields. | ||
7:160 You must use constant literals in lombok annotations; they cannot be references to (static) fields. |
2 changes: 2 additions & 0 deletions
2
test/transform/resource/messages-ecj/EqualsAndHashCodeOfAndExcludeError.java.messages
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,2 @@ | ||
2:60 You must use constant literals in lombok annotations; they cannot be references to (static) fields. | ||
7:160 You must use constant literals in lombok annotations; they cannot be references to (static) fields. |