| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: the modifiers which make sense for an accessor methodthe original property node propNode)Fields within the AST that have no explicit visibility are deemed to be properties and represented by a PropertyNode. |
| PropertyNodeUtils | back to summary |
|---|---|
| public PropertyNodeUtils() | |
| adjustPropertyModifiersForMethod | back to summary |
|---|---|
| public static int adjustPropertyModifiersForMethod(PropertyNode propNode) Fields within the AST that have no explicit visibility are deemed to be properties
and represented by a PropertyNode. The Groovy compiler creates accessor methods and
a backing field for such property nodes. During this process, all modifiers
from the property are carried over to the backing field (so a property marked as
| |