mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
17 lines
415 B
Java
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();
|
|
}
|
|
}
|