public class Insert extends Transform
| Modifier and Type | Field and Description |
|---|---|
private int |
position |
private java.lang.Class[] |
types |
private java.lang.Object[] |
values |
| Constructor and Description |
|---|
Insert(int position,
boolean value) |
Insert(int position,
byte value) |
Insert(int position,
char value) |
Insert(int position,
java.lang.Class[] types,
java.lang.Object... values) |
Insert(int position,
double value) |
Insert(int position,
float value) |
Insert(int position,
int value) |
Insert(int position,
long value) |
Insert(int position,
java.lang.Object... values) |
Insert(int position,
short value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.invoke.MethodType |
down(java.lang.invoke.MethodType type)
Apply this transform downward from an incoming MethodType, producing
a new type.
|
java.lang.String |
toString()
Return a string representation of this transform.
|
private java.lang.Class[] |
types() |
java.lang.invoke.MethodHandle |
up(java.lang.invoke.MethodHandle target)
Apply this transform upward from the given MethodHandle, producing
a new handle.
|
private final int position
private final java.lang.Class[] types
private final java.lang.Object[] values
public Insert(int position,
java.lang.Object... values)
public Insert(int position,
boolean value)
public Insert(int position,
byte value)
public Insert(int position,
short value)
public Insert(int position,
char value)
public Insert(int position,
int value)
public Insert(int position,
long value)
public Insert(int position,
float value)
public Insert(int position,
double value)
public Insert(int position,
java.lang.Class[] types,
java.lang.Object... values)
public java.lang.invoke.MethodHandle up(java.lang.invoke.MethodHandle target)
Transformpublic java.lang.invoke.MethodType down(java.lang.invoke.MethodType type)
Transformpublic java.lang.String toString()
Transformprivate java.lang.Class[] types()