Package | Description |
---|---|
org.eth.cyril.bugfixer.input |
Modifier and Type | Class and Description |
---|---|
(package private) class |
IntegerIntervalBound |
(package private) class |
ValueSetBound<T> |
Modifier and Type | Method and Description |
---|---|
static Bound<?> |
Bounds.newDefaultValueBound(java.lang.Class<?> clazz) |
static Bound<java.lang.Integer> |
Bounds.newIntegerIntervalBound(int lower,
int upper) |
static <T> Bound<T> |
Bounds.newSingleValueBound(T value) |
static <T> Bound<T> |
Bounds.newValueChoiceBound(T... values) |
Modifier and Type | Method and Description |
---|---|
<T> java.util.List<Bound<T>> |
BoundRegistry.getBounds(java.lang.Class<T> elementType) |
<T> java.util.Optional<Bound<T>> |
BoundRegistry.getRandomBound(java.lang.Class<T> elementType) |
Modifier and Type | Method and Description |
---|---|
void |
Input.getNextInput(Bound<java.lang.Integer> sizeHint,
java.util.function.Consumer<java.util.List<T>> callback)
Gets the next input.
|
default void |
Input.getNextInputUntyped(Bound<java.lang.Integer> sizeHint,
java.util.function.Consumer<java.util.List<?>> callback)
Gets the next input.
|
default Input<T> |
InputGenerator.getRandomInput(Bound<T> bound)
Gets an input generator generating random input from a single bound.
|
<T> void |
BoundRegistry.register(Bound<T> bound,
java.lang.Class<T> elementType) |
Modifier and Type | Method and Description |
---|---|
Input<T> |
InputGeneratorImpl.getRandomInput(java.util.List<Bound<T>> bounds) |
Input<T> |
InputGenerator.getRandomInput(java.util.List<Bound<T>> bounds)
Gets an input generator generating random input from multiple bounds.
|
default Input<T> |
InputGenerator.getRandomInputUntyped(java.util.List<Bound<?>> bounds)
Untyped version of
InputGenerator.getRandomInput(List) , for the case when the actual
generic type is unknown. |