Files
openide/plugins/lombok/testData/highlighting/LombokStaticVars.java
Michail Plushnikov cefc83409f IDEA-265211 Improve test setup for lombok tests using Slf4j library
GitOrigin-RevId: f17a426942915af98f5c93286cc5d7e89b38d33c
2021-04-01 07:32:36 +00:00

17 lines
415 B
Java

import lombok.extern.slf4j.Slf4j;
@Slf4j
public class LombokStaticVars {
static {
log.info("This should not produce error: Variable 'log' might not have been initialized");
}
public static final Runnable LAMDA = () -> {
log.info("This should not produce error: Variable 'log' might not have been initialized");
};
public static void main(String[] args) {
LAMDA.run();
}
}