|
Copyright 2008 - 2009 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg This software is released under an open source BSD licence. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfj.test.reflect.Check
public final class Check
Functions for checking properties in a class that are found reflectively and according to various annotations.
Method Summary | ||
---|---|---|
static
|
check(Class<T> c,
List<String> categories)
Returns the results and names of checking the properties on the given class using a standard random generator . |
|
static
|
check(Class<T> c,
Rand r,
List<String> categories)
Returns the results and names of checking the properties on the given class. |
|
static
|
check(Class<T> c,
Rand r,
String... categories)
Returns the results and names of checking the properties on the given class. |
|
static
|
check(Class<T> c,
String... categories)
Returns the results and names of checking the properties on the given class using a standard random generator . |
|
static
|
check(List<Class<T>> c,
List<String> categories)
Returns the results and names of checking the properties on the given classes using a standard random generator . |
|
static
|
check(List<Class<T>> c,
Rand r,
List<String> categories)
Returns the results and names of checking the properties on the given classes. |
|
static
|
check(List<Class<T>> c,
Rand r,
String... categories)
Returns the results and names of checking the properties on the given classes. |
|
static
|
check(List<Class<T>> c,
String... categories)
Returns the results and names of checking the properties on the given classes using a standard random generator . |
|
static
|
properties(Class<T> c,
String... categories)
Returns all properties, their name and possible check parameters in a given class that are found reflectively and according to various annotations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> List<P2<String,CheckResult>> check(List<Class<T>> c, 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<String,CheckResult>> check(List<Class<T>> c, List<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<String,CheckResult>> check(List<Class<T>> c, Rand r, 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<String,CheckResult>> check(List<Class<T>> c, Rand r, List<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<String,CheckResult>> check(Class<T> c, 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<String,CheckResult>> check(Class<T> c, List<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<String,CheckResult>> check(Class<T> c, Rand r, 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<String,CheckResult>> check(Class<T> c, Rand r, List<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,String,Option<CheckParams>>> properties(Class<T> c, 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).
|
Copyright 2008 - 2009 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg This software is released under an open source BSD licence. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |