## Uses of Class
java.lang.invoke.MethodHandles.Lookup

- Packages that use MethodHandles.Lookup
  Package | Description
  --- | ---
  java.lang.invoke |

- - ### Uses of MethodHandles.Lookup in java.lang.invoke

    Methods in java.lang.invoke that return MethodHandles.Lookup
    Modifier and Type | Method and Description
    --- | ---
    `MethodHandles.Lookup` | MethodHandles.Lookup.`in(Class<?> requestedLookupClass)` Creates a lookup on the specified new lookup class.
    `static MethodHandles.Lookup` | MethodHandles.`lookup()` Returns a `lookup object` with full capabilities to emulate all supported bytecode behaviors of the caller.
    `static MethodHandles.Lookup` | MethodHandles.`publicLookup()` Returns a `lookup object` which is trusted minimally.

    Methods in java.lang.invoke with parameters of type MethodHandles.Lookup
    Modifier and Type | Method and Description
    --- | ---
    `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` | 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.

Copyright © 2025 API Design. All Rights Reserved.