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 |
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 |
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.