インターフェースの使用
org.springframework.util.ReflectionUtils.MethodFilter
パッケージ
説明
例外処理とバージョン検出のための基本クラス、およびフレームワークのどの部分にも固有ではない他のコアヘルパーを提供します。
文字列、クラス、コレクション、リフレクションなどを操作するためのユーティリティなど、その他のユーティリティクラス。
アノテーションベースのハンドラーメソッド処理のクラスをサポートします。
org.springframework.web.method.annotation
パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。org.springframework.core 内の ReflectionUtils.MethodFilter 使用
修飾子と型メソッド説明MethodIntrospector.selectMethods
(ClassSE<?> targetType, ReflectionUtils.MethodFilter methodFilter) フィルターに基づいて、指定されたターゲット型のメソッドを選択します。org.springframework.util 内の ReflectionUtils.MethodFilter 使用
修飾子と型フィールド説明static final ReflectionUtils.MethodFilter
ReflectionUtils.USER_DECLARED_METHODS
java.lang.Object
で宣言されていないすべての非ブリッジ非合成メソッドに一致するビルド済みのReflectionUtils.MethodFilter
。修飾子と型メソッド説明default ReflectionUtils.MethodFilter
ReflectionUtils.MethodFilter.and
(ReflectionUtils.MethodFilter next) このフィルターと提供されたフィルターに基づいて複合フィルターを作成します。修飾子と型メソッド説明default ReflectionUtils.MethodFilter
ReflectionUtils.MethodFilter.and
(ReflectionUtils.MethodFilter next) このフィルターと提供されたフィルターに基づいて複合フィルターを作成します。static void
ReflectionUtils.doWithMethods
(ClassSE<?> clazz, ReflectionUtils.MethodCallback mc, ReflectionUtils.MethodFilter mf) 指定されたクラスとスーパークラス(または指定されたインターフェースとスーパーインターフェース)のすべての一致するメソッドで、指定されたコールバック操作を実行します。static MethodSE[]
ReflectionUtils.getUniqueDeclaredMethods
(ClassSE<?> leafClass, ReflectionUtils.MethodFilter mf) リーフクラスおよびすべてのスーパークラスで宣言されたメソッドの一意のセットを取得します。org.springframework.web.method.annotation 内の ReflectionUtils.MethodFilter 使用
修飾子と型フィールド説明static final ReflectionUtils.MethodFilter
ExceptionHandlerMethodResolver.EXCEPTION_HANDLER_METHODS
@ExceptionHandler
メソッドを選択するためのフィルター。org.springframework.web.servlet.mvc.method.annotation 内の ReflectionUtils.MethodFilter 使用
修飾子と型フィールド説明static final ReflectionUtils.MethodFilter
RequestMappingHandlerAdapter.INIT_BINDER_METHODS
@InitBinder
メソッドと一致する MethodFilter。static final ReflectionUtils.MethodFilter
RequestMappingHandlerAdapter.MODEL_ATTRIBUTE_METHODS
@ModelAttribute
メソッドと一致する MethodFilter。