Package | Description |
---|---|
org.springframework.core |
Provides basic classes for exception handling and version detection,
and other core helpers that are not specific to any part of the framework.
|
org.springframework.util |
Miscellaneous utility classes, such as String manipulation utilities,
a Log4J configurer, and a state holder for paged lists of objects.
|
org.springframework.web.method.annotation |
Support classes for annotation-based handler method processing.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
Modifier and Type | Method and Description |
---|---|
static Set<Method> |
MethodIntrospector.selectMethods(Class<?> targetType,
ReflectionUtils.MethodFilter methodFilter)
Select methods on the given target type based on a filter.
|
Modifier and Type | Field and Description |
---|---|
static ReflectionUtils.MethodFilter |
ReflectionUtils.USER_DECLARED_METHODS
Pre-built MethodFilter that matches all non-bridge non-synthetic methods
which are not declared on
java.lang.Object . |
Modifier and Type | Method and Description |
---|---|
static void |
ReflectionUtils.doWithMethods(Class<?> clazz,
ReflectionUtils.MethodCallback mc,
ReflectionUtils.MethodFilter mf)
Perform the given callback operation on all matching methods of the given
class and superclasses (or given interface and super-interfaces).
|
static Method[] |
ReflectionUtils.getUniqueDeclaredMethods(Class<?> leafClass,
ReflectionUtils.MethodFilter mf)
Get the unique set of declared methods on the leaf class and all superclasses.
|
Modifier and Type | Field and Description |
---|---|
static ReflectionUtils.MethodFilter |
ExceptionHandlerMethodResolver.EXCEPTION_HANDLER_METHODS
A filter for selecting
@ExceptionHandler methods. |
Modifier and Type | Field and Description |
---|---|
static ReflectionUtils.MethodFilter |
RequestMappingHandlerAdapter.INIT_BINDER_METHODS
MethodFilter that matches
@InitBinder methods. |
static ReflectionUtils.MethodFilter |
RequestMappingHandlerAdapter.MODEL_ATTRIBUTE_METHODS
MethodFilter that matches
@ModelAttribute methods. |