IntelliJ doesn't detect @AllArgsConstructor
已回答
@AllArgsConstructor
public class A {
@Getter
private final String B;
@Getter
private final String C;
}
IntelliJ gives red underlined error "Variable B might not have been initialized".
请先登录再写评论。
IntelliJ IDEA has no support for Lombok: https://youtrack.jetbrains.com/issue/IDEABKL-5667.
Actually I found this: https://plugins.jetbrains.com/plugin/6317-lombok-plugin