Perneel
Perneel

Reputation: 3367

Lombok javafx properties

I'm trying to use Lombok in combination with JavaFX properties:

@Data
public class Country {
    private SimpleIntegerProperty id = new SimpleIntegerProperty();
    private SimpleStringProperty name = new SimpleStringProperty();
}

This generates getters and setters for the Properties itself:

However, I would expect(/like) this in JavaFX:

Is this supported in Lombok? I don't find much information about Lombok in combination with JavaFX (or I must be searching wrong). I'm not really familiar with Lombok yet, so apologies if this is a basic question.

Upvotes: 7

Views: 3864

Answers (1)

maaartinus
maaartinus

Reputation: 46432

There's no support, see issue 521. I'm afraid, there's nothing beside the issue and an discussion.

Upvotes: 6

Related Questions