1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 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 |
136 if(param.name().length() > 0) { |
136 if(param.name().length() > 0) { |
137 tree.addContent(writer.getSpace()); |
137 tree.addContent(writer.getSpace()); |
138 tree.addContent(param.name()); |
138 tree.addContent(param.name()); |
139 } |
139 } |
140 } |
140 } |
|
141 |
|
142 protected void addReceiverAnnotations(ExecutableMemberDoc member, |
|
143 Content tree) { |
|
144 if (member.receiverAnnotations().length > 0) { |
|
145 tree.addContent(writer.getSpace()); |
|
146 writer.addReceiverAnnotationInfo(member, tree); |
|
147 } |
|
148 } |
|
149 |
141 |
150 |
142 /** |
151 /** |
143 * Add all the parameters for the executable member. |
152 * Add all the parameters for the executable member. |
144 * |
153 * |
145 * @param member the member to write parameters for. |
154 * @param member the member to write parameters for. |