/*
* @(#)TaggedMethodFinder.java 1.3 00/02/02
*
* Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
package com.sun.tools.doclets;
import com.sun.javadoc.*;
import java.lang.*;
import java.util.*;
import java.io.*;
/**
* Find a tagged method.
*
* @author Atul M Dambalkar
*/
public class TaggedMethodFinder extends MethodFinder {
public boolean isCorrectMethod(MethodDoc method) {
return method.paramTags().length + method.tags("return").length +
method.throwsTags().length + method.seeTags().length > 0;
}
}
|