| Modifier and Type | Method and Description |
|---|---|
default Datatype.Feature<T,?> |
Datatype.feature(String name) |
default <F> Datatype.Feature<T,F> |
Datatype.feature(String name,
com.google.common.reflect.TypeToken<F> type) |
static <T,F> Datatype.Feature<T,F> |
Datatype.Feature.of(int index,
String owner,
String name,
com.google.common.reflect.TypeToken<F> type,
boolean nullable,
boolean getter,
boolean setter,
boolean omittable,
boolean ignorable) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Datatype.Feature<?,?>> |
Datatype.Violation.feature() |
List<Datatype.Feature<T,?>> |
Datatype.features() |
| Modifier and Type | Method and Description |
|---|---|
<F> F |
Datatype.get(Datatype.Feature<T,F> feature,
T instance) |
static Datatype.Violation |
Datatype.Violation.of(String rule,
String message,
Datatype.Feature<?,?> setter) |
<F> void |
Datatype.Builder.set(Datatype.Feature<T,F> feature,
F value) |
Copyright © 2020 The Immutables.org authors. All rights reserved.