BeanProperty is an annotation type. We use this annotation to specify a property so that we can automatically generate BeanInfo classes. This is a new annotation for Java 9.
The BeanProperty annotation has the following optional elements:
- boolean bound
- String description
- String[] enumerationValues
- boolean expert
- boolean hidden
- boolean preferred
- boolean required
- boolean visualUpdate