Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxws/src/share/jaxws_classes/javax/annotation/Generated.java
38874 views
/*1* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425package javax.annotation;26import java.lang.annotation.*;27import static java.lang.annotation.ElementType.*;28import static java.lang.annotation.RetentionPolicy.*;2930/**31* The Generated annotation is used to mark source code that has been generated.32* It can also be used to differentiate user written code from generated code33* in a single file. When used, the value element must have the name of the34* code generator. The recommended convention is to use the fully qualified35* name of the code generator in the value field .36* <p>For example: com.company.package.classname.37* The date element is used to indicate the date the source was generated.38* The date element must follow the ISO 8601 standard. For example the date39* element would have the following value 2001-07-04T12:08:56.235-070040* which represents 2001-07-04 12:08:56 local time in the U.S. Pacific41* Time time zone.</p>42* <p>The comment element is a place holder for any comments that the code43* generator may want to include in the generated code.</p>44*45* @since Common Annotations 1.046*/4748@Documented49@Retention(SOURCE)50@Target({PACKAGE, TYPE, ANNOTATION_TYPE, METHOD, CONSTRUCTOR, FIELD,51LOCAL_VARIABLE, PARAMETER})52public @interface Generated {53/**54* The value element MUST have the name of the code generator.55* The recommended convention is to use the fully qualified name of the56* code generator. For example: com.acme.generator.CodeGen.57*/58String[] value();5960/**61* Date when the source was generated.62*/63String date() default "";6465/**66* A place holder for any comments that the code generator may want to67* include in the generated code.68*/69String comments() default "";70}717273