DeprecatedTree.java revision 2571:10fc81ac75b4
1193323Sed/*
2193323Sed * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
3193323Sed * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4193323Sed *
5193323Sed * This code is free software; you can redistribute it and/or modify it
6193323Sed * under the terms of the GNU General Public License version 2 only, as
7193323Sed * published by the Free Software Foundation.  Oracle designates this
8193323Sed * particular file as subject to the "Classpath" exception as provided
9193323Sed * by Oracle in the LICENSE file that accompanied this code.
10193323Sed *
11193323Sed * This code is distributed in the hope that it will be useful, but WITHOUT
12193323Sed * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13193323Sed * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14193323Sed * version 2 for more details (a copy is included in the LICENSE file that
15193323Sed * accompanied this code).
16193323Sed *
17193323Sed * You should have received a copy of the GNU General Public License version
18193323Sed * 2 along with this work; if not, write to the Free Software Foundation,
19193323Sed * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20193323Sed *
21193323Sed * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22193323Sed * or visit www.oracle.com if you need additional information or have any
23193323Sed * questions.
24193323Sed */
25193323Sed
26193323Sedpackage com.sun.source.doctree;
27193323Sed
28193323Sedimport java.util.List;
29193323Sed
30193323Sed/**
31193323Sed * A tree node for an @deprecated block tag.
32193323Sed *
33193323Sed * <p>
34193323Sed * &#064;deprecated deprecated text.
35205218Srdivacky *
36193323Sed * @since 1.8
37205218Srdivacky */
38249423Sdim@jdk.Exported
39249423Sdimpublic interface DeprecatedTree extends BlockTagTree {
40249423Sdim    /**
41249423Sdim     * Returns the description explaining why an item is deprecated.
42249423Sdim     * @return the description
43249423Sdim     */
44249423Sdim    List<? extends DocTree> getBody();
45249423Sdim}
46193323Sed