Mon, 10 Dec 2012 16:21:26 +0000
8003967: detect and remove all mutable implicit static enum fields in langtools
Reviewed-by: jjg
jjg@1230 | 1 | /* |
jjg@1230 | 2 | * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
jjg@1230 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jjg@1230 | 4 | * |
jjg@1230 | 5 | * This code is free software; you can redistribute it and/or modify it |
jjg@1230 | 6 | * under the terms of the GNU General Public License version 2 only, as |
jjg@1230 | 7 | * published by the Free Software Foundation. Oracle designates this |
jjg@1230 | 8 | * particular file as subject to the "Classpath" exception as provided |
jjg@1230 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
jjg@1230 | 10 | * |
jjg@1230 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
jjg@1230 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jjg@1230 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jjg@1230 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
jjg@1230 | 15 | * accompanied this code). |
jjg@1230 | 16 | * |
jjg@1230 | 17 | * You should have received a copy of the GNU General Public License version |
jjg@1230 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
jjg@1230 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jjg@1230 | 20 | * |
jjg@1230 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
jjg@1230 | 22 | * or visit www.oracle.com if you need additional information or have any |
jjg@1230 | 23 | * questions. |
jjg@1230 | 24 | */ |
jjg@1230 | 25 | |
jjg@1230 | 26 | package javax.tools.annotation; |
jjg@1230 | 27 | |
jjg@1230 | 28 | import java.lang.annotation.*; |
jjg@1230 | 29 | import static java.lang.annotation.RetentionPolicy.*; |
jjg@1230 | 30 | import static java.lang.annotation.ElementType.*; |
jjg@1230 | 31 | |
jjg@1230 | 32 | /** |
jjg@1230 | 33 | * An annotation used to indicate that a native header file |
jjg@1230 | 34 | * should be generated for this class. |
jjg@1230 | 35 | * |
jjg@1230 | 36 | * Normally, the presence of native methods is a sufficient |
jjg@1230 | 37 | * indication of the need for a native header file. However, |
jjg@1230 | 38 | * in some cases, a class may contain constants of interest to |
jjg@1230 | 39 | * native code, without containing any native methods. |
jjg@1230 | 40 | * |
jjg@1230 | 41 | * @since 1.8 |
jjg@1230 | 42 | */ |
jjg@1230 | 43 | @Documented |
jjg@1230 | 44 | @Target(TYPE) |
jjg@1230 | 45 | @Retention(SOURCE) |
jjg@1230 | 46 | public @interface GenerateNativeHeader { |
jjg@1230 | 47 | } |