static CallSite |
LambdaMetafactory.altMetafactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
Object... args) |
Facilitates the creation of simple "function objects" that implement one
or more interfaces by delegation to a provided MethodHandle ,
after appropriate type adaptation and partial evaluation of arguments.
|
static CallSite |
StringConcatFactory.makeConcat(MethodHandles.Lookup lookup,
String name,
MethodType concatType) |
Facilitates the creation of optimized String concatenation methods, that
can be used to efficiently concatenate a known number of arguments of
known types, possibly after type adaptation and partial evaluation of
arguments.
|
static CallSite |
StringConcatFactory.makeConcatWithConstants(MethodHandles.Lookup lookup,
String name,
MethodType concatType,
String recipe,
Object... constants) |
Facilitates the creation of optimized String concatenation methods, that
can be used to efficiently concatenate a known number of arguments of
known types, possibly after type adaptation and partial evaluation of
arguments.
|
static CallSite |
LambdaMetafactory.metafactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
MethodType samMethodType,
MethodHandle implMethod,
MethodType instantiatedMethodType) |
Facilitates the creation of simple "function objects" that implement one
or more interfaces by delegation to a provided MethodHandle ,
after appropriate type adaptation and partial evaluation of arguments.
|
static MethodHandles.Lookup |
MethodHandles.privateLookupIn(Class<?> targetClass,
MethodHandles.Lookup lookup) |
Returns a lookup object with full capabilities to emulate all
supported bytecode behaviors, including
private access, on a target class.
|
<T extends Member> T |
MethodHandleInfo.reflectAs(Class<T> expected,
MethodHandles.Lookup lookup) |
Reflects the underlying member as a method, constructor, or field object.
|