com.sun.tools.doclets.internal.toolkit.util
Class MethodFinder

java.lang.Object
  extended by com.sun.tools.doclets.internal.toolkit.util.MethodFinder
Direct Known Subclasses:
CommentedMethodFinder, TaggedMethodFinder

public abstract class MethodFinder
extends java.lang.Object

This class is useful for searching a method which has documentation comment and documentation tags. The method is searched in all the superclasses and interfaces(subsequently super-interfaces also) recursively. This code is not part of an API. It is implementation that is subject to change. Do not use it as an API.


Constructor Summary
MethodFinder()
           
 
Method Summary
(package private) abstract  boolean isCorrectMethod(MethodDoc method)
           
 MethodDoc search(ClassDoc cd, MethodDoc method)
           
 MethodDoc searchInterfaces(ClassDoc cd, MethodDoc method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodFinder

public MethodFinder()
Method Detail

isCorrectMethod

abstract boolean isCorrectMethod(MethodDoc method)

search

public MethodDoc search(ClassDoc cd,
                        MethodDoc method)

searchInterfaces

public MethodDoc searchInterfaces(ClassDoc cd,
                                  MethodDoc method)