langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ImplementedMethods.java
changeset 1789 7ac8c0815000
parent 1264 076a3cde30d5
child 5520 86e4b9a9da40
equal deleted inserted replaced
1788:ced0a1a7ec80 1789:7ac8c0815000
    84      * implements. If it is not overidden, add it in the method list.
    84      * implements. If it is not overidden, add it in the method list.
    85      * Do this recursively for all the extended interfaces for each interface
    85      * Do this recursively for all the extended interfaces for each interface
    86      * from the array passed.
    86      * from the array passed.
    87      */
    87      */
    88     private void buildImplementedMethodList(boolean sort) {
    88     private void buildImplementedMethodList(boolean sort) {
    89         List intfacs = Util.getAllInterfaces(classdoc, configuration, sort);
    89         List<Type> intfacs = Util.getAllInterfaces(classdoc, configuration, sort);
    90         for (Iterator iter = intfacs.iterator(); iter.hasNext(); ) {
    90         for (Iterator<Type> iter = intfacs.iterator(); iter.hasNext(); ) {
    91             Type interfaceType = (Type) iter.next();
    91             Type interfaceType = iter.next();
    92             MethodDoc found = Util.findMethod(interfaceType.asClassDoc(), method);
    92             MethodDoc found = Util.findMethod(interfaceType.asClassDoc(), method);
    93             if (found != null) {
    93             if (found != null) {
    94                 removeOverriddenMethod(found);
    94                 removeOverriddenMethod(found);
    95                 if (!overridingMethodFound(found)) {
    95                 if (!overridingMethodFound(found)) {
    96                     methlist.add(found);
    96                     methlist.add(found);