langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/MethodFinder.java
changeset 22159 682da512ec17
parent 14260 727a84636f12
equal deleted inserted replaced
22158:dca1b80ed62c 22159:682da512ec17
    60         return null;
    60         return null;
    61     }
    61     }
    62 
    62 
    63     public MethodDoc searchInterfaces(ClassDoc cd, MethodDoc method) {
    63     public MethodDoc searchInterfaces(ClassDoc cd, MethodDoc method) {
    64         MethodDoc[] implementedMethods = (new ImplementedMethods(method, null)).build();
    64         MethodDoc[] implementedMethods = (new ImplementedMethods(method, null)).build();
    65         for (int i = 0; i < implementedMethods.length; i++) {
    65         for (MethodDoc implementedMethod : implementedMethods) {
    66             if (isCorrectMethod(implementedMethods[i])) {
    66             if (isCorrectMethod(implementedMethod)) {
    67                 return implementedMethods[i];
    67                 return implementedMethod;
    68             }
    68             }
    69         }
    69         }
    70         return null;
    70         return null;
    71     }
    71     }
    72 }
    72 }