public interface Compatible
Allows to use advanced functionality if the latest JDK version is present.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Compatible.Factory
Creates an implementation of
Compatible suitable for the current environment. |
| Modifier and Type | Field and Description |
|---|---|
static Compatible |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> boolean |
isRecord(Class<T> clazz)
Tells whether the given class is a JDK 16+ record.
|
static final Compatible INSTANCE
<T> boolean isRecord(Class<T> clazz)
Copyright © 2012-2025 Apache Software Foundation. All Rights Reserved.