|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
Invoker<T> | Understands the use of instrospection to access a property from a JavaBean. |
PropertyName | Understands the name of a property to access using Bean Introspection. |
PropertyType<T> | Understands the type of a property to access using Bean Instrospection. |
PropertyTypeRef<T> | Understands the type of a property to access using Bean Instrospection. |
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 staticorg.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");
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |