I have developed in a library a custom javafx.animation.Transition. I want to provide the corresponding builder (like the TranslateBuilder
for the Translate
transformation).
As you can see in the TranslateBuilder javadoc, the builder class is annotated by @Generated(value="Generated by javafx.builder.processor.BuilderProcessor")
.
Is it possible to use this processor ? If yes, how ?
ALT+SHIFT+B inside a file: creates a builder if it does not exist. switches between class and builder if builder exists.
Builder is a creational design pattern, which allows constructing complex objects step by step. Unlike other creational patterns, Builder doesn't require products to have a common interface. That makes it possible to produce different products using the same construction process.
A Builder class builds the final object step by step. This builder is independent of other objects.
Builders are created using annotation processor and now, it is internal.
I've created an issue : http://javafx-jira.kenai.com/browse/RT-28553
which is for a tracking purpose and for a discussion.
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