@Internal public class Deprecation extends AtomicReference<String>
| Modifier and Type | Method and Description |
|---|---|
static Deprecation |
of(String message) |
static Deprecation |
ofClass(Class<?> clazz) |
static Deprecation |
ofImpl(Class<?> clazz,
String message) |
static Deprecation |
ofProperty(String property,
String newProperty) |
static Deprecation |
ofUse(String message) |
void |
warn() |
void |
warnClass(Class<?> clazz) |
accumulateAndGet, compareAndSet, get, getAndAccumulate, getAndSet, getAndUpdate, lazySet, set, toString, updateAndGet, weakCompareAndSetpublic static Deprecation of(String message)
public static Deprecation ofUse(String message)
public static Deprecation ofProperty(String property, String newProperty)
public static Deprecation ofClass(Class<?> clazz)
public static Deprecation ofImpl(Class<?> clazz, String message)
public void warn()
public void warnClass(Class<?> clazz)
Copyright © 2002–2026 Devexperts LLC. All rights reserved.