Package | Description |
---|---|
org.springframework.util |
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
|
Modifier and Type | Field and Description |
---|---|
static ReflectionUtils.FieldFilter |
ReflectionUtils.COPYABLE_FIELDS
Pre-built FieldFilter that matches all non-static, non-final fields.
|
Modifier and Type | Method and Description |
---|---|
default ReflectionUtils.FieldFilter |
ReflectionUtils.FieldFilter.and(ReflectionUtils.FieldFilter next)
Create a composite filter based on this filter and the provided filter.
|
Modifier and Type | Method and Description |
---|---|
default ReflectionUtils.FieldFilter |
ReflectionUtils.FieldFilter.and(ReflectionUtils.FieldFilter next)
Create a composite filter based on this filter and the provided filter.
|
static void |
ReflectionUtils.doWithFields(Class<?> clazz,
ReflectionUtils.FieldCallback fc,
ReflectionUtils.FieldFilter ff)
Invoke the given callback on all fields in the target class, going up the
class hierarchy to get all declared fields.
|