- Notifications
You must be signed in to change notification settings - Fork 219
Closed as not planned
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsestatus: duplicatetype: bug
Description
Problem
Lombok annotations with values don't get processed. This happens in STS 4.22.0 and was working in previous versions.
Working example
import java.io.Serializable; import java.time.LocalDate; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import lombok.ToString; @Getter @Setter @EqualsAndHashCode() @ToString() public class Test implements Serializable { private String myString; private LocalDate myDate; }
Generates getter, setter, equals, hashCode und toString methods.
Non working example
import java.io.Serializable; import java.time.LocalDate; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import lombok.ToString; @Getter @Setter @EqualsAndHashCode(of = { "myString", "myDate" }) @ToString(doNotUseGetters = true) public class Test implements Serializable { private String myString; private LocalDate myDate; }
Generates only getter and setter methods.
Metadata
Metadata
Assignees
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsestatus: duplicatetype: bug