@Builder
public class ProcessorLombokBO {
private String panel;
private String motherBoard;
private String ram;
private String hardDisk;
}
public static void main(String[] args) {
ProcessorLombokBO processorLombokBO =
new ProcessorLombokBO.ProcessorLombokBOBuilder()
.panel("Brown")
.hardDisk("SanDisk 256GB")
.ram("4GB")
.motherBoard("Intel")
.build();
System.out.println(processorLombokBO);
}
I am trying to implemenent @Builder
in a POJO, but it gives the below error when I execute the main
method.
java: cannot find symbol symbol: class ProcessorLombokBOBuilder
Did I miss something?
builder
, which was not visible. After restart Android studio the issue disappeared – Hartford