This addition to Java 9 simplifies the creation of custom BeanInfo classes and enables the modularization of the client library. Developers can specify these attributes directly in Bean classes rather than create a separate BeanInfo class for every Bean class.
See JDK Enhancement Proposal (JEP) # 256, adopted in Java 9 and later.