src/share/classes/com/sun/tools/javac/tree/DCTree.java

changeset 1535
3ab64e4293a1
parent 1455
75ab654b5cd5
child 1704
ed918a442b83
equal deleted inserted replaced
1534:bec996065c45 1535:3ab64e4293a1
1 /* 1 /*
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2011, 2013, 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
117 return tags; 117 return tags;
118 } 118 }
119 119
120 } 120 }
121 121
122 public static abstract class DCBlockTag extends DCTree implements InlineTagTree { 122 public static abstract class DCBlockTag extends DCTree implements BlockTagTree {
123 public String getTagName() { 123 public String getTagName() {
124 return getKind().tagName; 124 return getKind().tagName;
125 } 125 }
126 } 126 }
127 127
167 public List<DCTree> getValue() { 167 public List<DCTree> getValue() {
168 return value; 168 return value;
169 } 169 }
170 } 170 }
171 171
172 public static class DCAuthor extends DCInlineTag implements AuthorTree { 172 public static class DCAuthor extends DCBlockTag implements AuthorTree {
173 public final List<DCTree> name; 173 public final List<DCTree> name;
174 174
175 DCAuthor(List<DCTree> name) { 175 DCAuthor(List<DCTree> name) {
176 this.name = name; 176 this.name = name;
177 } 177 }
638 public ReferenceTree getType() { 638 public ReferenceTree getType() {
639 return type; 639 return type;
640 } 640 }
641 } 641 }
642 642
643 public static class DCSince extends DCInlineTag implements SinceTree { 643 public static class DCSince extends DCBlockTag implements SinceTree {
644 public final List<DCTree> body; 644 public final List<DCTree> body;
645 645
646 DCSince(List<DCTree> body) { 646 DCSince(List<DCTree> body) {
647 this.body = body; 647 this.body = body;
648 } 648 }

mercurial