public interface GroovyMethodDoc
extends GroovyExecutableMemberDoc
Describes a method in the Groovydoc model.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
isAbstract()Indicates whether this method is declared abstract. |
|
public GroovyClassDoc |
overriddenClass()Returns the class in which the overridden method is declared. |
|
public GroovyMethodDoc |
overriddenMethod()Returns the method that this method overrides. |
|
public GroovyType |
overriddenType()Returns the type that declares the method overridden by this method. |
|
public boolean |
overrides(GroovyMethodDoc arg0)Indicates whether this method overrides the supplied method. |
|
public GroovyType |
returnType()Returns the declared return type of this method. |
|
public void |
setReturnType(GroovyType o)Updates the declared return type of this method. |
| Methods inherited from class | Name |
|---|---|
interface GroovyExecutableMemberDoc |
flatSignature, isNative, isSynchronized, isVarArgs, parameters, signature, thrownExceptionTypes, thrownExceptions |
interface GroovyMemberDoc |
isSynthetic |
interface GroovyProgramElementDoc |
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifierSpecifier, modifiers, qualifiedName |
interface GroovyDoc |
commentText, firstSentenceCommentText, getRawCommentText, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, isRecord, name, setRawCommentText |
Indicates whether this method is declared abstract.
true if this method is abstractReturns the class in which the overridden method is declared.
null if none existsReturns the method that this method overrides.
null if none existsReturns the type that declares the method overridden by this method.
null if none existsIndicates whether this method overrides the supplied method.
arg0 - the candidate methodtrue if this method overrides arg0Returns the declared return type of this method.
Updates the declared return type of this method.
o - the return type to associate with this method