/*
 * Hibernate Validator, declare and validate application constraints
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
 */
package org.hibernate.validator.internal.util.stereotypes;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

Documents that the value assigned to the annotated field is lazily initialized and shouldn't be accessed directly but via a getter.
Author:Guillaume Smet
/** * Documents that the value assigned to the annotated field is lazily initialized and shouldn't be accessed directly but * via a getter. * * @author Guillaume Smet */
@Retention(RetentionPolicy.SOURCE) @Target(ElementType.FIELD) public @interface Lazy { }