Files
javademos/lanes/src/LombokProbe.java
T

14 lines
463 B
Java

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());
}
}