org.codehaus.groovy.runtime
Class ScriptReference

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Reference
          extended by org.codehaus.groovy.runtime.ScriptReference
All Implemented Interfaces:
GroovyObject

public class ScriptReference
extends Reference

Represents a reference to a variable in a script

Version:
$Revision: 6778 $
Author:
James Strachan

Field Summary
private  Script script
           
private  java.lang.String variable
           
 
Constructor Summary
ScriptReference(Script script, java.lang.String variable)
           
 
Method Summary
 java.lang.Object get()
           
 void set(java.lang.Object value)
           
 
Methods inherited from class groovy.lang.Reference
getProperty, invokeMethod, setProperty
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

script

private Script script

variable

private java.lang.String variable
Constructor Detail

ScriptReference

public ScriptReference(Script script,
                       java.lang.String variable)
Method Detail

get

public java.lang.Object get()
Overrides:
get in class Reference

set

public void set(java.lang.Object value)
Overrides:
set in class Reference


Copyright © ${year} The Codehaus. All Rights Reserved.