test/tools/javac/annotations/repeatingAnnotations/combo/expectedFiles/ExpectedContainer.java

Tue, 24 Dec 2013 09:17:37 -0800

author
ksrini
date
Tue, 24 Dec 2013 09:17:37 -0800
changeset 2227
998b10c43157
parent 1576
63872da94576
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8029230: Update copyright year to match last edit in jdk8 langtools repository for 2013
Reviewed-by: ksrini
Contributed-by: steve.sides@oracle.com

darcy@1576 1 /*
ksrini@2227 2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
darcy@1576 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
darcy@1576 4 *
darcy@1576 5 * This code is free software; you can redistribute it and/or modify it
darcy@1576 6 * under the terms of the GNU General Public License version 2 only, as
darcy@1576 7 * published by the Free Software Foundation.
darcy@1576 8 *
darcy@1576 9 * This code is distributed in the hope that it will be useful, but WITHOUT
darcy@1576 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
darcy@1576 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
darcy@1576 12 * version 2 for more details (a copy is included in the LICENSE file that
darcy@1576 13 * accompanied this code).
darcy@1576 14 *
darcy@1576 15 * You should have received a copy of the GNU General Public License version
darcy@1576 16 * 2 along with this work; if not, write to the Free Software Foundation,
darcy@1576 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
darcy@1576 18 *
darcy@1576 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
darcy@1576 20 * or visit www.oracle.com if you need additional information or have any
darcy@1576 21 * questions.
darcy@1576 22 */
darcy@1576 23
darcy@1576 24 package expectedFiles;
darcy@1576 25 import java.lang.annotation.Annotation;
darcy@1576 26 import java.lang.annotation.Retention;
darcy@1576 27 import java.lang.annotation.RetentionPolicy;
darcy@1576 28 @Retention(RetentionPolicy.RUNTIME)
darcy@1576 29 public @interface ExpectedContainer {
darcy@1576 30 Class<? extends Annotation> value() default Annotation.class;
darcy@1576 31 String getAnnotationVal() default "";
darcy@1576 32 String[] getAnnotationsVals() default {};
darcy@1576 33 String[] getDeclAnnosVals() default {};
darcy@1576 34 // JDK8 methods
darcy@1576 35 String getDeclAnnoVal() default "";
darcy@1576 36 String[] getAnnosArgs() default{};
darcy@1576 37 String[] getDeclAnnosArgs() default {};
darcy@1576 38 }
darcy@1576 39

mercurial