1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 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 |
148 TagletWriter.genTagOuput(tagletManager, member, |
148 TagletWriter.genTagOuput(tagletManager, member, |
149 tagletManager.getSerializedFormTaglets(), |
149 tagletManager.getSerializedFormTaglets(), |
150 writer.getTagletWriterInstance(false), tagContent); |
150 writer.getTagletWriterInstance(false), tagContent); |
151 Content dlTags = new HtmlTree(HtmlTag.DL); |
151 Content dlTags = new HtmlTree(HtmlTag.DL); |
152 dlTags.addContent(tagContent); |
152 dlTags.addContent(tagContent); |
153 methodsContentTree.addContent(dlTags); // TODO: what if empty? |
153 methodsContentTree.addContent(dlTags); |
154 MethodDoc method = member; |
154 MethodDoc method = member; |
155 if (method.name().compareTo("writeExternal") == 0 |
155 if (method.name().compareTo("writeExternal") == 0 |
156 && method.tags("serialData").length == 0) { |
156 && method.tags("serialData").length == 0) { |
157 serialWarning(member.position(), "doclet.MissingSerialDataTag", |
157 serialWarning(member.position(), "doclet.MissingSerialDataTag", |
158 method.containingClass().qualifiedName(), method.name()); |
158 method.containingClass().qualifiedName(), method.name()); |