@Value.Immutable(builder=false) public abstract class Named<T> extends Object implements SinkAndSource<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> |
named(String name,
de.flapdoodle.reflection.TypeInfo<T> type) |
static <T> Named<T> |
ofType(Class<T> type) |
static <T> Named<T> |
ofType(de.flapdoodle.reflection.TypeInfo<T> type) |
protected abstract de.flapdoodle.reflection.TypeInfo<T> |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrelatedTo, unvalidatedasHumanReadable@Value.Parameter protected abstract de.flapdoodle.reflection.TypeInfo<T> type()
@Value.Lazy public String asHumanReadable()
asHumanReadable in interface HasHumanReadableLabelpublic static <T> Named<T> ofType(de.flapdoodle.reflection.TypeInfo<T> type)
Copyright © 2023. All rights reserved.