Groovy 1.7.0

## org.codehaus.groovy.runtime
Class ScriptReference

    java.lang.Object
      groovy.lang.GroovyObjectSupport
          groovy.lang.Reference
              org.codehaus.groovy.runtime.ScriptReference

    class ScriptReference
    extends Reference

Represents a reference to a variable in a script

author:
  James Strachan

version:
  $Revision: 6778 $

Constructor Summary
`ScriptReference(Script script, String variable)`

Method Summary
`Object` | `get()`
`void` | `set(Object value)`

Methods inherited from class Reference
get, getProperty, invokeMethod, set, setProperty

Methods inherited from class GroovyObjectSupport
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty

Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Constructor Detail

### ScriptReference

    public ScriptReference(Script script, String variable)

Method Detail

### get

    public Object get()

### set

    public void set(Object value)

Copyright © 2003-2009 The Codehaus. All rights reserved.