Package org.fest.reflect.beanproperty


package org.fest.reflect.beanproperty

Provides a "fluent" API for property access via the Bean Instrospection API.

Note: Classes in this package are not intended to be used directly. To use them, you need to use the class org.fest.reflect.core.Reflection.

Here are some examples:

   // import static org.fest.reflect.core.Reflection.*;

   // Retrieves the value of the property "name"
   String name = property("name").ofType(String.class).in(person).get();
   
   // Sets the value of the property "name" to "Yoda"
   property("name").ofType(String.class).in(person).set("Yoda");

  • Classes
    Class
    Description
    Understands the use of instrospection to access a property from a JavaBean.
    Understands the name of a property to access using Bean Introspection.
    Understands the type of a property to access using Bean Instrospection.
    Understands the type of a property to access using Bean Instrospection.