| Constructor and description |
|---|
DynamicVariable(String name, boolean context)Creates a dynamic variable. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Expression |
getInitialExpression() |
|
public int |
getModifiers() |
|
public String |
getName() |
|
public ClassNode |
getOriginType() |
|
public ClassNode |
getType() |
|
public boolean |
hasInitialExpression() |
|
public boolean |
isClosureSharedVariable() |
|
public boolean |
isDynamicTyped() |
|
public boolean |
isInStaticContext() |
|
public void |
setClosureSharedVariable(boolean inClosure) |
Creates a dynamic variable. context is the static-context flag
later returned by isInStaticContext().
name - the variable namecontext - true when the variable occurs in a static context.
isInStaticContext() returns this flagCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.