public final class Check
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> List<P2<java.lang.String,CheckResult>> |
check(java.lang.Class<T> c,
List<java.lang.String> categories)
Returns the results and names of checking the properties on the given class using a
standard random generator . |
static <T> List<P2<java.lang.String,CheckResult>> |
check(java.lang.Class<T> c,
Rand r,
List<java.lang.String> categories)
Returns the results and names of checking the properties on the given class.
|
static <T> List<P2<java.lang.String,CheckResult>> |
check(java.lang.Class<T> c,
Rand r,
java.lang.String... categories)
Returns the results and names of checking the properties on the given class.
|
static <T> List<P2<java.lang.String,CheckResult>> |
check(java.lang.Class<T> c,
java.lang.String... categories)
Returns the results and names of checking the properties on the given class using a
standard random generator . |
static <T> List<P2<java.lang.String,CheckResult>> |
check(List<java.lang.Class<T>> c,
List<java.lang.String> categories)
Returns the results and names of checking the properties on the given classes using a
standard random generator . |
static <T> List<P2<java.lang.String,CheckResult>> |
check(List<java.lang.Class<T>> c,
Rand r,
List<java.lang.String> categories)
Returns the results and names of checking the properties on the given classes.
|
static <T> List<P2<java.lang.String,CheckResult>> |
check(List<java.lang.Class<T>> c,
Rand r,
java.lang.String... categories)
Returns the results and names of checking the properties on the given classes.
|
static <T> List<P2<java.lang.String,CheckResult>> |
check(List<java.lang.Class<T>> c,
java.lang.String... categories)
Returns the results and names of checking the properties on the given classes using a
standard random generator . |
static <U,T extends U> |
properties(java.lang.Class<T> c,
java.lang.String... categories)
Returns all properties, their name and possible check parameters in a given class that are
found reflectively and according to various annotations.
|
public static <T> List<P2<java.lang.String,CheckResult>> check(List<java.lang.Class<T>> c, java.lang.String... categories)
standard random generator
.c
- The classes to check the properties of.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).standard random generator
.public static <T> List<P2<java.lang.String,CheckResult>> check(List<java.lang.Class<T>> c, List<java.lang.String> categories)
standard random generator
.c
- The classes to check the properties of.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).standard random generator
.public static <T> List<P2<java.lang.String,CheckResult>> check(List<java.lang.Class<T>> c, Rand r, java.lang.String... categories)
c
- The classes to check the properties of.r
- The random generator to use to check the properties on the given classes.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).public static <T> List<P2<java.lang.String,CheckResult>> check(List<java.lang.Class<T>> c, Rand r, List<java.lang.String> categories)
c
- The classes to check the properties of.r
- The random generator to use to check the properties on the given classes.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).public static <T> List<P2<java.lang.String,CheckResult>> check(java.lang.Class<T> c, java.lang.String... categories)
standard random generator
.c
- The class to check the properties of.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).standard random generator
.public static <T> List<P2<java.lang.String,CheckResult>> check(java.lang.Class<T> c, List<java.lang.String> categories)
standard random generator
.c
- The class to check the properties of.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).standard random generator
.public static <T> List<P2<java.lang.String,CheckResult>> check(java.lang.Class<T> c, Rand r, java.lang.String... categories)
c
- The class to check the properties of.r
- The random generator to use to check the properties on the given class.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).public static <T> List<P2<java.lang.String,CheckResult>> check(java.lang.Class<T> c, Rand r, List<java.lang.String> categories)
c
- The class to check the properties of.r
- The random generator to use to check the properties on the given class.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).public static <U,T extends U> List<P3<Property,java.lang.String,Option<CheckParams>>> properties(java.lang.Class<T> c, java.lang.String... categories)
NoCheck
are not considered. The name of a
property is specified by the annotation
or if this annotation is not present, the
name of the method or field that represents the property.c
- The class to look for properties on.categories
- The categories of properties to return. If no categories are specified, all
candidate properties are returned, otherwise, only those properties in the given categories are
returned (properties in no category are omitted in this latter case).