public class SimpleGroovyMemberDoc
extends SimpleGroovyAbstractableElementDoc
implements GroovyMemberDoc
Base implementation for documented members declared within a class.
| Modifiers | Name | Description |
|---|---|---|
protected GroovyClassDoc |
belongsToClass |
The class that declares this member. |
| Fields inherited from class | Fields |
|---|---|
class SimpleGroovyDoc |
ANNOTATION_DEF, CLASS_DEF, ENUM_DEF, INTERFACE_DEF, RECORD_DEF, TRAIT_DEF |
| Constructor and description |
|---|
SimpleGroovyMemberDoc(String name, GroovyClassDoc belongsToClass)Creates a member owned by the supplied class. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public String |
commentText()* Returns the processed comment text for this element. * *
|
|
public String |
firstSentenceCommentText()* Returns the first sentence of the processed comment text. * *
|
|
public boolean |
isSynthetic()* Indicates whether this member was synthesized rather than declared directly in source. * *
|
The class that declares this member.
Creates a member owned by the supplied class.
name - the member namebelongsToClass - the declaring class* Returns the processed comment text for this element. * *
* Returns the first sentence of the processed comment text. * *
* Indicates whether this member was synthesized rather than declared directly in source. * *
true if this member is syntheticCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.