Spec-Zone .ru
спецификации, руководства, описания, API
|
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. |
Modifier and Type | Method and Description |
---|---|
static CallSite |
LambdaMetafactory.altMetaFactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
Object... args)
Alternate meta-factory for conversion of lambda expressions or method references to functional interfaces,
which supports serialization and other uncommon options.
|
static CallSite |
LambdaMetafactory.metaFactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
MethodHandle samMethod,
MethodHandle implMethod,
MethodType instantiatedMethodType)
Standard meta-factory for conversion of lambda expressions or method references to functional interfaces.
|
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, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b92