public class IndyArrayAccess
extends Object
Class for handling array access through invokedynamic using static callsite information
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static MethodHandle |
arrayGet(MethodType type)Returns an array getter handle adapted to the supplied call-site type. |
|
public static MethodHandle |
arraySet(MethodType type)Returns an array setter handle adapted to the supplied call-site type. |
|
public static boolean |
notNegative(int index)Tests whether an array index is already non-negative. |
Returns an array getter handle adapted to the supplied call-site type.
type - the target call-site typeReturns an array setter handle adapted to the supplied call-site type.
type - the target call-site typeTests whether an array index is already non-negative.
index - the candidate indextrue if the index is non-negative