Move RuntimeHints predicate support to a dedicated package

This commit moves `RuntimeHintsPredicate` and its support classes that
form a cohesive concept in a dedicated `.predicate` package.

Closes gh-28799
This commit is contained in:
Stephane Nicoll
2022-07-12 16:10:03 +02:00
parent 40c8b7c59f
commit 54a3f66d1d
19 changed files with 67 additions and 20 deletions

View File

@@ -28,8 +28,8 @@ import java.util.function.Predicate;
import org.springframework.aot.hint.MemberCategory;
import org.springframework.aot.hint.RuntimeHints;
import org.springframework.aot.hint.RuntimeHintsPredicates;
import org.springframework.aot.hint.TypeReference;
import org.springframework.aot.hint.predicate.RuntimeHintsPredicates;
/**
* Java method that is instrumented by the {@link RuntimeHintsAgent}.
@@ -38,7 +38,7 @@ import org.springframework.aot.hint.TypeReference;
* {@link #matcher(RecordedInvocation) is matching} the runtime behavior of the codebase.
*
* @author Brian Clozel
* @see org.springframework.aot.hint.RuntimeHintsPredicates
* @see RuntimeHintsPredicates
*/
enum InstrumentedMethod {