jdk/src/java.base/share/classes/java/lang/SuppressWarnings.java
changeset 29232 1e69d3a5a305
parent 25859 3317bb8137f4
child 42338 a60f280f803c
equal deleted inserted replaced
29231:e515c8f5bbec 29232:1e69d3a5a305
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    45  * @since 1.5
    45  * @since 1.5
    46  * @jls 4.8 Raw Types
    46  * @jls 4.8 Raw Types
    47  * @jls 4.12.2 Variables of Reference Type
    47  * @jls 4.12.2 Variables of Reference Type
    48  * @jls 5.1.9 Unchecked Conversion
    48  * @jls 5.1.9 Unchecked Conversion
    49  * @jls 5.5.2 Checked Casts and Unchecked Casts
    49  * @jls 5.5.2 Checked Casts and Unchecked Casts
    50  * @jls 9.6.3.5 @SuppressWarnings
    50  * @jls 9.6.4.5 @SuppressWarnings
    51  */
    51  */
    52 @Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
    52 @Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
    53 @Retention(RetentionPolicy.SOURCE)
    53 @Retention(RetentionPolicy.SOURCE)
    54 public @interface SuppressWarnings {
    54 public @interface SuppressWarnings {
    55     /**
    55     /**