public final class Introspection
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.beans.PropertyDescriptor |
getProperty(java.lang.String propertyName,
java.lang.Object target)
Returns a
PropertyDescriptor for a property matching the given name in the given object. |
public static java.beans.PropertyDescriptor getProperty(java.lang.String propertyName,
java.lang.Object target)
PropertyDescriptor for a property matching the given name in the given object.propertyName - the given property name.target - the given object.PropertyDescriptor for a property matching the given name in the given object.java.lang.NullPointerException - if the given property name is null.java.lang.IllegalArgumentException - if the given property name is empty.java.lang.NullPointerException - if the given object is null.IntrospectionError - if a matching property cannot be found or accessed.Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.