[Java] Class Receiver<T>
- org.codehaus.groovy.transform.stc.Receiver
public class Receiver<T> extends Object
Constructor Summary
Constructor and description |
---|
Receiver
(ClassNode type) |
Receiver
(ClassNode type, T data) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public T |
getData() | |
public ClassNode |
getType() | |
<T> | public static Receiver<T> |
make(ClassNode type) |
public String |
toString() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public Receiver(ClassNode type)
public Receiver(ClassNode type, T data)
Method Detail
public T getData()
public ClassNode getType()
<T> public static Receiver<T> make(ClassNode type)
@Override public String toString()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/transform/stc/Receiver.html