Package | Description |
---|---|
org.apache.commons.beanutils2 |
The Bean Introspection Utilities component of the Apache Commons subproject offers low-level utility classes
that assist in getting and setting property values on Java classes that follow the naming design patterns outlined in
the JavaBeans Specification, as well as mechanisms for dynamically defining and accessing bean properties, using
fluent APIs.
|
Modifier and Type | Method and Description |
---|---|
static <A> Argument<A> |
Argument.argument(A value)
Factory method for arguments.
|
static <T,V extends T> |
Argument.argument(Class<T> type,
V value)
Creates a new argument of the given type with the given value.
|
static <A> Argument<A> |
Argument.nullArgument(Class<A> type)
Creates a new null argument of the given type.
|
Modifier and Type | Method and Description |
---|---|
BeanAccessor<B> |
ClassAccessor.invokeConstructor(Argument<?>... arguments)
Invokes the constructor with the parameter list represented by
arguments on the wrapped class. |
BeanAccessor<B> |
ClassAccessor.invokeExactConstructor(Argument<?>... arguments)
Invokes the constructor with the parameter list represented by
arguments on the wrapped class. |
BeanAccessor<?> |
ArgumentsAccessor.with(Argument<?>... arguments)
Passes the given arguments to the called constructor or method.
|
Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.