Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ve-dev] Overriding the variable declarations in code generation.

 I  would like to change the code generation so that actual components are constructed in the variable declarations.
That is, instead of having
 
    private MyComponent myComponent = null;
 
    I would like to have:
 
    private MyComponent myComponent = new MyComponent();
 
    and if possible to replace the lazy initialization in the getMethod with a simple getter, although this last point isn't crucial.
 
Is there any way of doing this?
 
 
 

Back to the top