| Type Params | Return Type | Name and description |
|---|---|---|
|
public GroovyAnnotationRef[] |
annotations()Returns the annotations declared on this element. |
|
public GroovyClassDoc |
containingClass()Returns the containing class for this element. |
|
public GroovyPackageDoc |
containingPackage()Returns the package that contains this element. |
|
public boolean |
isFinal()Indicates whether this element is declared final. |
|
public boolean |
isPackagePrivate()Indicates whether this element has package-private visibility. |
|
public boolean |
isPrivate()Indicates whether this element is declared private. |
|
public boolean |
isProtected()Indicates whether this element is declared protected. |
|
public boolean |
isPublic()Indicates whether this element is declared public. |
|
public boolean |
isStatic()Indicates whether this element is declared static. |
|
public int |
modifierSpecifier()Returns the modifier flags for this element. |
|
public String |
modifiers()Returns the rendered modifier text for this element. |
|
public String |
qualifiedName()Returns the fully qualified name of this element. |
| Methods inherited from class | Name |
|---|---|
interface GroovyDoc |
commentText, firstSentenceCommentText, getRawCommentText, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isDeprecated, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, isRecord, name, setRawCommentText |
Returns the annotations declared on this element.
Returns the containing class for this element.
null if this element is not nested within a classReturns the package that contains this element.
null if none is available Indicates whether this element is declared final.
true if this element is finalIndicates whether this element has package-private visibility.
true if this element is package-private Indicates whether this element is declared private.
true if this element is private Indicates whether this element is declared protected.
true if this element is protected Indicates whether this element is declared public.
true if this element is public Indicates whether this element is declared static.
true if this element is staticReturns the modifier flags for this element.
Returns the rendered modifier text for this element.
Returns the fully qualified name of this element.