Module java.base
Package java.lang.invoke

# Class MethodHandles.Lookup

=
public static final class Lookup
extends java.lang.Object

## Nested Types

- = ClassOption

## Fields

- =
  public static final int MODULE = 16
- =
  public static final int ORIGINAL = 64
- =
  public static final int PACKAGE = 8
- =
  public static final int PRIVATE = 2
- =
  public static final int PROTECTED = 4
- =
  public static final int PUBLIC = 1
- =
  public static final int UNCONDITIONAL = 32

## Methods

- =
  public <T> java.lang.Class<T> accessClass(java.lang.Class<T> arg0) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandle bind(java.lang.Object arg0, java.lang.String arg1, java.lang.invoke.MethodType arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException
- =
  public java.lang.Class<?> defineClass(byte[] arg0) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandles.Lookup defineHiddenClass(byte[] arg0, boolean arg1, java.lang.invoke.MethodHandles.Lookup.ClassOption[] arg2) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandles.Lookup defineHiddenClassWithClassData(byte[] arg0, java.lang.Object arg1, boolean arg2, java.lang.invoke.MethodHandles.Lookup.ClassOption[] arg3) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandles.Lookup dropLookupMode(int arg0)
- =
  public <T> java.lang.Class<T> ensureInitialized(java.lang.Class<T> arg0) throws java.lang.IllegalAccessException
- =
  public java.lang.Class<?> findClass(java.lang.String arg0) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandle findConstructor(java.lang.Class<?> arg0, java.lang.invoke.MethodType arg1) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException
- =
  public java.lang.invoke.MethodHandle findGetter(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.Class<?> arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException
- =
  public java.lang.invoke.MethodHandle findSetter(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.Class<?> arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException
- =
  public java.lang.invoke.MethodHandle findSpecial(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.invoke.MethodType arg2, java.lang.Class<?> arg3) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException
- =
  public java.lang.invoke.MethodHandle findStatic(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.invoke.MethodType arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException
- =
  public java.lang.invoke.MethodHandle findStaticGetter(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.Class<?> arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException
- =
  public java.lang.invoke.MethodHandle findStaticSetter(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.Class<?> arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException
- =
  public java.lang.invoke.VarHandle findStaticVarHandle(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.Class<?> arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException
- =
  public java.lang.invoke.VarHandle findVarHandle(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.Class<?> arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException
- =
  public java.lang.invoke.MethodHandle findVirtual(java.lang.Class<?> arg0, java.lang.String arg1, java.lang.invoke.MethodType arg2) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException
- =
  public boolean hasFullPrivilegeAccess()
- =
  @Deprecated(since="14")
  public boolean hasPrivateAccess()
- =
  public java.lang.invoke.MethodHandles.Lookup in(java.lang.Class<?> arg0)
- =
  public java.lang.Class<?> lookupClass()
- =
  public int lookupModes()
- =
  public java.lang.Class<?> previousLookupClass()
- =
  public java.lang.invoke.MethodHandleInfo revealDirect(java.lang.invoke.MethodHandle arg0)
- =
  public java.lang.String toString()
- =
  public java.lang.invoke.MethodHandle unreflect(java.lang.reflect.Method arg0) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandle unreflectConstructor(java.lang.reflect.Constructor<?> arg0) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandle unreflectGetter(java.lang.reflect.Field arg0) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandle unreflectSetter(java.lang.reflect.Field arg0) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.MethodHandle unreflectSpecial(java.lang.reflect.Method arg0, java.lang.Class<?> arg1) throws java.lang.IllegalAccessException
- =
  public java.lang.invoke.VarHandle unreflectVarHandle(java.lang.reflect.Field arg0) throws java.lang.IllegalAccessException

## Summary

No differences.