| Package | Description |
|---|---|
| java.lang.invoke |
The
java.lang.invoke package contains dynamic language support provided directly by the Java core class libraries and virtual machine.
|
| Modifier and Type | Method and Description |
|---|---|
MethodHandles |
MethodHandles.Lookup.in(Class
Creates a lookup on the specified new lookup class.
|
static MethodHandles |
MethodHandles.lookup()
Returns a
lookup object with full capabilities to emulate all supported bytecode behaviors of the caller.
|
static MethodHandles |
MethodHandles.publicLookup()
Returns a
lookup object which is trusted minimally.
|
| Modifier and Type | Method and Description |
|---|---|
static CallSite |
LambdaMetafactory.altMetafactory(MethodHandles
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 |
LambdaMetafactory.metafactory(MethodHandles
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.
|
<T extends Member |
MethodHandleInfo.reflectAs(Class
Reflects the underlying member as a method, constructor, or field object.
|