src/share/classes/com/sun/tools/javadoc/ClassDocImpl.java

changeset 1358
fc123bdeddb8
parent 1357
c75be5bc5283
child 1359
25e14ad23cef
equal deleted inserted replaced
1357:c75be5bc5283 1358:fc123bdeddb8
842 * Find a method in this class scope. 842 * Find a method in this class scope.
843 * Search order: this class, interfaces, superclasses, outerclasses. 843 * Search order: this class, interfaces, superclasses, outerclasses.
844 * Note that this is not necessarily what the compiler would do! 844 * Note that this is not necessarily what the compiler would do!
845 * 845 *
846 * @param methodName the unqualified name to search for. 846 * @param methodName the unqualified name to search for.
847 * @param paramTypeArray the array of Strings for method parameter types. 847 * @param paramTypes the array of Strings for method parameter types.
848 * @return the first MethodDocImpl which matches, null if not found. 848 * @return the first MethodDocImpl which matches, null if not found.
849 */ 849 */
850 public MethodDocImpl findMethod(String methodName, String[] paramTypes) { 850 public MethodDocImpl findMethod(String methodName, String[] paramTypes) {
851 // Use hash table 'searched' to avoid searching same class twice. 851 // Use hash table 'searched' to avoid searching same class twice.
852 //### It is not clear how this could happen. 852 //### It is not clear how this could happen.
969 969
970 /** 970 /**
971 * Find constructor in this class. 971 * Find constructor in this class.
972 * 972 *
973 * @param constrName the unqualified name to search for. 973 * @param constrName the unqualified name to search for.
974 * @param paramTypeArray the array of Strings for constructor parameters. 974 * @param paramTypes the array of Strings for constructor parameters.
975 * @return the first ConstructorDocImpl which matches, null if not found. 975 * @return the first ConstructorDocImpl which matches, null if not found.
976 */ 976 */
977 public ConstructorDoc findConstructor(String constrName, 977 public ConstructorDoc findConstructor(String constrName,
978 String[] paramTypes) { 978 String[] paramTypes) {
979 Names names = tsym.name.table.names; 979 Names names = tsym.name.table.names;

mercurial