com.sun.javadoc
Interface MethodDoc


public abstract interface MethodDoc
extends ExecutableMemberDoc

Represents a method of a java class.

Since:
JDK1.2

Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 boolean isAbstract()
          Return true if this method is abstract
 ClassDoc overriddenClass()
          Return the class that overrides this method.
 Type returnType()
          Get return type.
 
Methods inherited from interface com.sun.javadoc.ExecutableMemberDoc
flatSignature, isNative, isSynchronized, parameters, paramTags, signature, thrownExceptions, throwsTags
 
Methods inherited from interface com.sun.javadoc.MemberDoc
isSynthetic
 
Methods inherited from interface com.sun.javadoc.ProgramElementDoc
containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName
 
Methods inherited from interface com.sun.javadoc.Doc
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isClass, isConstructor, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, seeTags, setRawCommentText, tags, tags
 

Method Detail

isAbstract

public boolean isAbstract()
Return true if this method is abstract

returnType

public Type returnType()
Get return type.
Returns:
the return type of this method, null if it is a constructor.

overriddenClass

public ClassDoc overriddenClass()
Return the class that overrides this method.
Returns:
a ClassDoc representing the superclass that overrides this method, null if this method is not overriden.