Initialize list if list is null with lombok getter?
<p>I am currently replacing all my standard POJO's to use Lombok for all the boilerplate code. I find myself keeping getters for lists because I want to return an empty list if the list has not been initialized. That is, I don't want the getter to return null. If there some lombok magic that I'm not aware of that can help me avoid doing this?</p>

<p>Example of generated code</p>

<pre><code>private List&lt;Object&gt; list;
public Object getList(){ return list; }
</code></pre>

<p>What I would like instead:</p>

<pre><code>private List&lt;Object&gt; list;
public Object getList(){
    if (list == null) {
        return new ArrayList();
    }
    return list;
}
</code></pre>