[Java] Class ScriptReference
- org.codehaus.groovy.runtime.ScriptReference
public class ScriptReference extends Reference
Represents a reference to a variable in a script
Constructor Summary
Constructor and description |
---|
ScriptReference
(Script script, String variable) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public Object |
get() | |
public void |
set(Object value) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Reference | get, getProperty, invokeMethod, set, setProperty |
class GroovyObjectSupport | getMetaClass, setMetaClass |
Constructor Detail
public ScriptReference(Script script, String variable)
Method Detail
public Object get()
public void set(Object value)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/runtime/ScriptReference.html