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 |
84 int memberType) { |
84 int memberType) { |
85 super(context); |
85 super(context); |
86 this.classDoc = classDoc; |
86 this.classDoc = classDoc; |
87 this.writer = writer; |
87 this.writer = writer; |
88 this.visibleMemberMap = new VisibleMemberMap(classDoc, memberType, |
88 this.visibleMemberMap = new VisibleMemberMap(classDoc, memberType, |
89 configuration.nodeprecated); |
89 configuration); |
90 this.members = new ArrayList<ProgramElementDoc>( |
90 this.members = new ArrayList<ProgramElementDoc>( |
91 this.visibleMemberMap.getMembersFor(classDoc)); |
91 this.visibleMemberMap.getMembersFor(classDoc)); |
92 if (configuration.getMemberComparator() != null) { |
92 if (configuration.getMemberComparator() != null) { |
93 Collections.sort(this.members, configuration.getMemberComparator()); |
93 Collections.sort(this.members, configuration.getMemberComparator()); |
94 } |
94 } |