1 /* |
1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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 |
86 this.writer = writer; |
86 this.writer = writer; |
87 visibleMemberMap = |
87 visibleMemberMap = |
88 new VisibleMemberMap( |
88 new VisibleMemberMap( |
89 classDoc, |
89 classDoc, |
90 VisibleMemberMap.FIELDS, |
90 VisibleMemberMap.FIELDS, |
91 configuration.nodeprecated); |
91 configuration); |
92 fields = |
92 fields = |
93 new ArrayList<ProgramElementDoc>(visibleMemberMap.getLeafClassMembers( |
93 new ArrayList<ProgramElementDoc>(visibleMemberMap.getLeafClassMembers( |
94 configuration)); |
94 configuration)); |
95 if (configuration.getMemberComparator() != null) { |
95 if (configuration.getMemberComparator() != null) { |
96 Collections.sort(fields, configuration.getMemberComparator()); |
96 Collections.sort(fields, configuration.getMemberComparator()); |