@Value.Immutable(builder=false) public abstract class Named<T> extends Object implements Value<T>, ValueSink<T>, ValueSource<T>, HasHumanReadableLabel
| Constructor and Description |
|---|
Named() |
| Modifier and Type | Method and Description |
|---|---|
String |
asHumanReadable() |
protected abstract Optional<String> |
name() |
static <T> Named<T> |
named(String name,
Class<T> type) |
static <T> Named<T> |
ofType(Class<T> type) |
protected abstract Class<T> |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrelatedTo, unvalidatedasHumanReadable@Value.Lazy public String asHumanReadable()
asHumanReadable in interface HasHumanReadableLabelCopyright © 2023. All rights reserved.