Top Fields Constructors Methods
org.codehaus.groovy.transform.stc

public Class Receiver<T>

extends Object
Class Inheritance
Imports
org.codehaus.groovy.ast.ClassHelper, .ClassNode

Field Summary

Modifier and TypeField and Description
private final T
private final ClassNode

Constructor Summary

AccessConstructor and Description
public
Receiver(final ClassNode type)

public
Receiver(final ClassNode type, final T data)

Method Summary

Modifier and TypeMethod and Description
public T
public ClassNode
public static <T> Receiver<T>
make(final ClassNode type)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

databack to summary
private final T data
typeback to summary
private final ClassNode type

Constructor Detail

Receiverback to summary
public Receiver(final ClassNode type)
Receiverback to summary
public Receiver(final ClassNode type, final T data)

Method Detail

getDataback to summary
public T getData()
getTypeback to summary
public ClassNode getType()
makeback to summary
public static <T> Receiver<T> make(final ClassNode type)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override