intellij & Lombok 을 사용하고 있으며 주석 프로세서가 활성화되어 있습니다.
IntelliJ IDEA 2020.2 (Community Edition)
Build #IC-202.6397.94, built on July 27, 2020
Runtime version: 11.0.7+10-b944.20 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux XXXX
GC: ParNew, ConcurrentMarkSweep
Memory: XXXXM
Cores: XX
Non-Bundled Plugins: color.scheme.Gruvbox, Lombook Plugin, org.intellij.scala
Current Desktop: KDE
Lobmok 사용 : 0.30-EAP
이렇게 클래스를 만들 때 :
@Builder
@Getter
public class Stub {
private final int f1;
private final long f2;
}
또는 기존 클래스에 필드를 추가하면 Intellij Complains that : Variable 'f1' might not have been initialized
.
Intellij를 다시 시작하면 오류가 사라집니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다