/* * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.lang.annotation; /** * The annotation type {@code java.lang.annotation.Repeatable} is * used to indicate that the annotation type whose declaration it * (meta-)annotates is repeatable. The value of * {@code @Repeatable} indicates the containing annotation * type for the repeatable annotation type. * * @since 1.8 * @jls 9.6 Annotation Types * @jls 9.7 Annotations */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.ANNOTATION_TYPE) public @interface Repeatable { /** * Indicates the containing annotation type for the * repeatable annotation type. * @return the containing annotation type */ Class value(); }