| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Expression | getInitialExpression()
Implements org. |
| public int | |
| public String | |
| public ClassNode | getOriginType()
Implements org. |
| public ClassNode | |
| public boolean | hasInitialExpression()
Implements org. |
| public boolean | |
| public boolean | |
| public boolean | isInStaticContext()
Implements org. |
| public void | setClosureSharedVariable(boolean inClosure)
Implements org. |
| closureShare | back to summary |
|---|---|
| private boolean closureShare | |
| name | back to summary |
|---|---|
| private final String name | |
| staticContext | back to summary |
|---|---|
| private boolean staticContext | |
| DynamicVariable | back to summary |
|---|---|
| public DynamicVariable(String name, boolean context) | |
| getInitialExpression | back to summary |
|---|---|
| public Expression getInitialExpression() Implements org. Doc from org. expression used to initialize the variable or null of there is no initialization. | |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements org. | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. the name of the variable | |
| getOriginType | back to summary |
|---|---|
| public ClassNode getOriginType() Implements org. Doc from org. the type before wrapping primitives type of the variable | |
| getType | back to summary |
|---|---|
| public ClassNode getType() Implements org. Doc from org. the type of the variable | |
| hasInitialExpression | back to summary |
|---|---|
| public boolean hasInitialExpression() Implements org. Doc from org. returns true if there is an initialization expression | |
| isClosureSharedVariable | back to summary |
|---|---|
| public boolean isClosureSharedVariable() Implements org. | |
| isDynamicTyped | back to summary |
|---|---|
| public boolean isDynamicTyped() Implements org. | |
| isInStaticContext | back to summary |
|---|---|
| public boolean isInStaticContext() Implements org. Doc from org. returns true if this variable is used in a static context. A static context is any static initializer block, when this variable is declared as static or when this variable is used in a static method | |
| setClosureSharedVariable | back to summary |
|---|---|
| public void setClosureSharedVariable(boolean inClosure) Implements org. | |