public class SimpleGroovyExecutableMemberDoc
extends SimpleGroovyMemberDoc
implements GroovyExecutableMemberDoc
Base implementation for executable members such as methods and constructors.
| Fields inherited from class | Fields |
|---|---|
class SimpleGroovyMemberDoc |
belongsToClass |
class SimpleGroovyDoc |
ANNOTATION_DEF, CLASS_DEF, ENUM_DEF, INTERFACE_DEF, RECORD_DEF, TRAIT_DEF |
| Constructor and description |
|---|
SimpleGroovyExecutableMemberDoc(String name, GroovyClassDoc belongsToClass)Creates an executable member owned by the supplied class. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
add(GroovyParameter parameter)Adds a parameter to this executable member. |
|
public String |
flatSignature()Returns the flat signature used in rendered output.
|
|
public boolean |
isNative()Indicates whether this executable is declared native.
|
|
public boolean |
isSynchronized()Indicates whether this executable is declared synchronized.
|
|
public boolean |
isVarArgs()Indicates whether the executable accepts a variable number of arguments.
|
|
public GroovyParameter[] |
parameters()Returns the parameters declared by this executable.
|
|
public String |
signature()Returns the full signature used in rendered output.
|
|
public GroovyType[] |
thrownExceptionTypes()Returns the checked exception types declared by this executable.
|
|
public GroovyClassDoc[] |
thrownExceptions()Returns the checked exceptions declared by this executable.
|
Creates an executable member owned by the supplied class.
name - the executable namebelongsToClass - the declaring classAdds a parameter to this executable member.
parameter - the parameter to addReturns the flat signature used in rendered output.
Indicates whether this executable is declared native.
true if this executable is native Indicates whether this executable is declared synchronized.
true if this executable is synchronizedIndicates whether the executable accepts a variable number of arguments.
true if this executable is variadicReturns the parameters declared by this executable.
Returns the full signature used in rendered output.
Returns the checked exception types declared by this executable.
Returns the checked exceptions declared by this executable.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.