Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…owed.
- Loading branch information
1 parent
3a4f0e0
commit 2eddba6
Showing
7 changed files
with
34 additions
and
20 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
6 changes: 6 additions & 0 deletions
6
test/transform/resource/after-delombok/LoggerFloggerRecord.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,6 @@ | ||
class LoggerFloggerRecord { | ||
record Inner(String x) { | ||
@java.lang.SuppressWarnings("all") | ||
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass(); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
test/transform/resource/after-ecj/LoggerFloggerRecord.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,16 @@ | ||
import lombok.extern.flogger.Flogger; | ||
class LoggerFloggerRecord { | ||
static @Flogger record Inner(String x) { | ||
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass(); | ||
/* Implicit */ private final String x; | ||
<clinit>() { | ||
} | ||
public Inner(String x) { | ||
super(); | ||
.x = x; | ||
} | ||
} | ||
LoggerFloggerRecord() { | ||
super(); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ class LoggerFloggerWithInnerEnum { | |
enum Inner { | ||
CONSTANT; | ||
} | ||
} | ||
} |
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,8 @@ | ||
// version 14: | ||
|
||
import lombok.extern.flogger.Flogger; | ||
|
||
class LoggerFloggerRecord { | ||
@Flogger | ||
record Inner(String x) {} | ||
} |