public class JavaBeanTester
extends java.lang.Object
| Constructor and Description |
|---|
JavaBeanTester() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
test(java.lang.Class<T> clazz,
java.lang.String... skipThese)
Tests the get/set methods of the specified class.
|
public static <T> void test(java.lang.Class<T> clazz,
java.lang.String... skipThese)
throws java.beans.IntrospectionException
T - the type parameter associated with the class under testclazz - the Class under testskipThese - the names of any properties that should not be testedjava.beans.IntrospectionException - thrown if the Introspector.getBeanInfo() method throws this exception
for the class under test