public class Reference<T> extends GroovyObjectSupport implements Serializable
Represents a reference to a value
| Constructor and description |
|---|
Reference
() |
Reference
(T value) |
| Type Params | Return Type | Name and description |
|---|---|---|
public T |
get() | |
public Object |
getProperty(String property) | |
public Object |
invokeMethod(String name, Object args) | |
public void |
set(T value) | |
public void |
setProperty(String property, Object newValue) |
| Methods inherited from class | Name |
|---|---|
class GroovyObjectSupport | getMetaClass, setMetaClass |
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/lang/Reference.html