public class Receiver<T>
extends Object
Describes a method-call receiver together with optional auxiliary data.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public T |
getData()Returns the auxiliary data associated with this receiver. |
|
public ClassNode |
getType()Returns the receiver type. |
|
public boolean |
isObject()Indicates if receiver is an object instance or a class (static) reference. |
<T> |
public static Receiver<T> |
make(ClassNode type)Creates an object receiver for the supplied type or Object when null. |
|
public final String |
toString()Returns a diagnostic representation of this receiver. |
Creates an object receiver without auxiliary data.
Creates an object receiver with auxiliary data.
Creates a receiver descriptor.
Returns the auxiliary data associated with this receiver.
Returns the receiver type.
Indicates if receiver is an object instance or a class (static) reference.
Creates an object receiver for the supplied type or Object when null.
Returns a diagnostic representation of this receiver.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.