0

I have a Java Object like the following

@Getter
@Setter
public class SomeClass implements Comparable<SomeClass> {

    private int no;
    private Map<String, LinkedHashSet<String>> map1;
    private Map<String, LinkedHashSet<String>> map2;
}

Now I dont need a Getter / Setter for the field no, I want to set it in other ways. Now how to tell lombok that dont create Getter / Setter for the field no

Arpan Das
  • 1,015
  • 3
  • 24
  • 57

0 Answers0