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.Lookup |
MethodHandles.Lookup.in(Class<?> requestedLookupClass)
Creates a lookup on the specified new lookup class.
|
static MethodHandles.Lookup |
MethodHandles.lookup()
Returns a
lookup object on the caller,
which has the capability to access any method handle that the caller has access to,
including direct method handles to private fields and methods. |
static MethodHandles.Lookup |
MethodHandles.publicLookup()
Returns a
lookup object which is trusted minimally. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b138