public interface Compatible
Allows to use advanced functionality if the latest JDK or Guava version is present.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Compatible.Factory
Creates the implementation of Compatible suitable for the
current environment.
|
| Modifier and Type | Field and Description |
|---|---|
static Compatible |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> MethodHandles.Lookup |
lookupPrivate(Class<T> clazz)
Same as
MethodHandles#privateLookupIn(). |
static final Compatible INSTANCE
<T> MethodHandles.Lookup lookupPrivate(Class<T> clazz)
MethodHandles#privateLookupIn().
(On JDK 8, only MethodHandles.lookup() is available.Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.