|
Doclet API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MethodDoc
Represents a method of a java class.
| Method Summary | |
|---|---|
boolean |
isAbstract()
Return true if this method is abstract |
ClassDoc |
overriddenClass()
Return the class containing the method that this method overrides. |
MethodDoc |
overriddenMethod()
Return the method that this method overrides. |
Type |
overriddenType()
Return the type containing the method that this method overrides. |
boolean |
overrides(MethodDoc meth)
Tests whether this method overrides another. |
Type |
returnType()
Get return type. |
| Methods inherited from interface com.sun.javadoc.ExecutableMemberDoc |
|---|
flatSignature, isNative, isSynchronized, isVarArgs, parameters, paramTags, signature, thrownExceptions, thrownExceptionTypes, throwsTags, typeParameters, typeParamTags |
| Methods inherited from interface com.sun.javadoc.MemberDoc |
|---|
isSynthetic |
| Methods inherited from interface com.sun.javadoc.ProgramElementDoc |
|---|
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName |
| Methods inherited from interface com.sun.javadoc.Doc |
|---|
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags |
| Method Detail |
|---|
boolean isAbstract()
Type returnType()
ClassDoc overriddenClass()
The overriddenClass method cannot
accommodate certain generic type constructs. The
overriddenType method should be used instead.
Type overriddenType()
ClassDoc or a ParameterizedType.
MethodDoc overriddenMethod()
boolean overrides(MethodDoc meth)
overriddenMethod()).
When a non-abstract method overrides an abstract one, it is also said to implement the other.
meth - the other method to examine
|
Doclet API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||