I have the following code:
import lombok.Builder;
import lombok.Getter;
@Getter
@Builder
public class NameParserResponse {
private boolean match;
}
public class Main {
public static void main(String[] args) {
NameParserResponse nameParserResponse = NameParserResponse.builder().build();
nameParserResponse.isMatch();
}
}
When trying to reference isMatch(), I get:
Ambiguous method call. Both
isMatch () in Response and
isMatch () in Response match

I have also tried removing the @Builder annotation, but this doesn't help.
It looks like I had the Hrisey Intellij plugin installed in addition to the Project Lombok plugin. I must have accidentally installed this when I was looking for the Project Lombok plugin.
After disabling this plugin, the issue was no longer present.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With