src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassDocCatalog.java

changeset 1358
fc123bdeddb8
parent 995
62bc3775d5bb
child 1359
25e14ad23cef
equal deleted inserted replaced
1357:c75be5bc5283 1358:fc123bdeddb8
1 /* 1 /*
2 * Copyright (c) 2001, 2011, 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
182 } 182 }
183 183
184 /** 184 /**
185 * Return all of the classes specified on the command-line that 185 * Return all of the classes specified on the command-line that
186 * belong to the given package. 186 * belong to the given package.
187 * @param packageDoc the package to return the classes for. 187 * @param pkgDoc the package to return the classes for.
188 */ 188 */
189 public ClassDoc[] allClasses(PackageDoc pkgDoc) { 189 public ClassDoc[] allClasses(PackageDoc pkgDoc) {
190 return pkgDoc.isIncluded() ? 190 return pkgDoc.isIncluded() ?
191 pkgDoc.allClasses() : 191 pkgDoc.allClasses() :
192 getArray(allClasses, Util.getPackageName(pkgDoc)); 192 getArray(allClasses, Util.getPackageName(pkgDoc));

mercurial