1 /* |
1 /* |
2 * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2012, 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 |
598 ArrayList<Taglet> fTags = new ArrayList<Taglet>(customTags.size()); |
598 ArrayList<Taglet> fTags = new ArrayList<Taglet>(customTags.size()); |
599 ArrayList<Taglet> cTags = new ArrayList<Taglet>(customTags.size()); |
599 ArrayList<Taglet> cTags = new ArrayList<Taglet>(customTags.size()); |
600 ArrayList<Taglet> mTags = new ArrayList<Taglet>(customTags.size()); |
600 ArrayList<Taglet> mTags = new ArrayList<Taglet>(customTags.size()); |
601 ArrayList<Taglet> iTags = new ArrayList<Taglet>(customTags.size()); |
601 ArrayList<Taglet> iTags = new ArrayList<Taglet>(customTags.size()); |
602 ArrayList<Taglet> oTags = new ArrayList<Taglet>(customTags.size()); |
602 ArrayList<Taglet> oTags = new ArrayList<Taglet>(customTags.size()); |
|
603 ArrayList<Taglet> sTags = new ArrayList<Taglet>(); |
603 Taglet current; |
604 Taglet current; |
604 while (it.hasNext()) { |
605 while (it.hasNext()) { |
605 current = it.next(); |
606 current = it.next(); |
606 if (current.inPackage() && !current.isInlineTag()) { |
607 if (current.inPackage() && !current.isInlineTag()) { |
607 pTags.add(current); |
608 pTags.add(current); |
632 methodTags = mTags.toArray(new Taglet[] {}); |
633 methodTags = mTags.toArray(new Taglet[] {}); |
633 overviewTags = oTags.toArray(new Taglet[] {}); |
634 overviewTags = oTags.toArray(new Taglet[] {}); |
634 inlineTags = iTags.toArray(new Taglet[] {}); |
635 inlineTags = iTags.toArray(new Taglet[] {}); |
635 |
636 |
636 //Init the serialized form tags |
637 //Init the serialized form tags |
637 serializedFormTags = new Taglet[4]; |
638 sTags.add(customTags.get("serialData")); |
638 serializedFormTags[0] = customTags.get("serialData"); |
639 sTags.add(customTags.get("throws")); |
639 serializedFormTags[1] = customTags.get("throws"); |
640 if (!nosince) |
640 serializedFormTags[2] = customTags.get("since"); |
641 sTags.add(customTags.get("since")); |
641 serializedFormTags[3] = customTags.get("see"); |
642 sTags.add(customTags.get("see")); |
|
643 serializedFormTags = sTags.toArray(new Taglet[] {}); |
642 } |
644 } |
643 |
645 |
644 /** |
646 /** |
645 * Initialize standard Javadoc tags for ordering purposes. |
647 * Initialize standard Javadoc tags for ordering purposes. |
646 */ |
648 */ |