class GetterLazy { static class ValueType { ValueType() { super(); } } private final @lombok.Getter(lazy = true) java.util.concurrent.atomic.AtomicReference> fieldName = new java.util.concurrent.atomic.AtomicReference>(); public @java.lang.SuppressWarnings("all") ValueType getFieldName() { java.util.concurrent.atomic.AtomicReference value = this.fieldName.get(); if ((value == null)) { synchronized (this.fieldName) { value = this.fieldName.get(); if ((value == null)) { value = new java.util.concurrent.atomic.AtomicReference(new ValueType()); this.fieldName.set(value); } } } return value.get(); } GetterLazy() { super(); } }