10 | | * Provide a @lazy annotation for AutoProperties: |
11 | | * @lazy should be used to implement lazy invocation of the compute() method in the AutoProperty |
12 | | * this would provide a performance optimization of AutoProperties holding references to objects which potentially will be never used |
13 | | * Provide a @const annotation for AutoProperties: |
14 | | * @const must ensure that the compute() method is called only once |
| 10 | * Provide a @Lazy annotation for AutoProperties: |
| 11 | * currently the compute() method is invoked on creation of the AutoProperty |
| 12 | * @Lazy should be used to implement lazy invocation of the compute() method in the AutoProperty, which means the method will be called on demand |
| 13 | * this would provide a performance optimization of AutoProperties holding references to objects which potentially will be never used - for instance some GUI object like an "Advanced settings" panel, which the majority of users wouldn't use at all or would use quite seldom |
| 14 | * Provide a @Const annotation for AutoProperties: |
| 15 | * @Const must ensure that the compute() method is called only once |