Hi Lombok people,
I have been using Lombok for a while, I use @Data annotation mostly as I wanted to generate getters and setters, but wanted to know if there is possibility to generate method also?
vannilla :
@FindBy(id = "titleID")
WebElement title;
public Label title() {
return new Label(title);
}
Does Lombok support anything like this?
@FindBy(id = "titleID")
@SomeAnnonation(type = Label.class, name="title")
WebElement title;
where SomeAnnonation I want to know if it exists? such that it generated a method with return type mentioned and name is the method name?
Here @FindBy is from Selenium team, ignore that.
Thanks,
Omkar