Java 27 and 26: runnable demos and captured output for every JEP, plus version lanes
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B38FGKKam5SCGgwgduVAh3
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* The smallest class that needs Lombok's annotation processor: without the processor there is no getName().
|
||||
* Compiled by scripts/upgrade.sh with four Lombok versions on JDK 25, 26 and 27. Explained in docs/15-build-files.md.
|
||||
*/
|
||||
public class LombokProbe {
|
||||
@Getter private final String name = "ankur";
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("getName() = " + new LombokProbe().getName());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user