Changes between Version 4 and Version 5 of CORE_ADDITIONS_R1


Ignore:
Timestamp:
01/22/09 17:37:55 (16 years ago)
Author:
gogov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CORE_ADDITIONS_R1

    v4 v5  
    88== Task requirements == 
    99 * Revise org.sophie2.core and add some extra functionality that is needed: 
    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 
    1516 * Write appropriate unit tests  
    1617 
     
    1920 
    2021== Implementation idea == 
    21 Use reflection for @const. 
     22Use reflection for @Const. 
    2223 
    2324== Related ==