Overview | Package | Class | Deprecated | Index | Help
| Groovy 1.7.0
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## groovy.lang
Class Reference

    java.lang.Object
      groovy.lang.GroovyObjectSupport
          groovy.lang.Reference

    class Reference
    extends GroovyObjectSupport

Represents a reference to a value

author:
  James Strachan

version:
  $Revision: 6778 $

Constructor Summary
`Reference()`
`Reference(Object value)`

Method Summary
`Object` | `get()`
`Object` | `getProperty(String property)`
`Object` | `invokeMethod(String name, Object args)`
`void` | `set(Object value)`
`void` | `setProperty(String property, Object newValue)`

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

### Reference

    public Reference()

### Reference

    public Reference(Object value)

Method Detail

### get

    public Object get()

### getProperty

    public Object getProperty(String property)

### invokeMethod

    public Object invokeMethod(String name, Object args)

### set

    public void set(Object value)

### setProperty

    public void setProperty(String property, Object newValue)

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