@@ -64,26 +64,20 @@ public void registerHints(RuntimeHints runtimeHints, ClassLoader classLoader) {
64
64
}
65
65
}
66
66
67
+ // Loaded reflectively in BootstrapUtils
67
68
registerAnnotation (runtimeHints .reflection (),
68
- // Loaded reflectively in BootstrapUtils
69
69
org .springframework .test .context .web .WebAppConfiguration .class
70
70
);
71
71
}
72
72
73
73
private static void registerPublicConstructors (ReflectionHints reflectionHints , Class <?>... types ) {
74
- registerPublicConstructors (reflectionHints , TypeReference .listOf (types ));
75
- }
76
-
77
- private static void registerPublicConstructors (ReflectionHints reflectionHints , Iterable <TypeReference > types ) {
78
- reflectionHints .registerTypes (types , TypeHint .builtWith (MemberCategory .INVOKE_PUBLIC_CONSTRUCTORS ));
74
+ reflectionHints .registerTypes (TypeReference .listOf (types ),
75
+ TypeHint .builtWith (MemberCategory .INVOKE_PUBLIC_CONSTRUCTORS ));
79
76
}
80
77
81
78
private static void registerDeclaredConstructors (ReflectionHints reflectionHints , String ... classNames ) {
82
- registerDeclaredConstructors (reflectionHints , listOf (classNames ));
83
- }
84
-
85
- private static void registerDeclaredConstructors (ReflectionHints reflectionHints , Iterable <TypeReference > types ) {
86
- reflectionHints .registerTypes (types , TypeHint .builtWith (MemberCategory .INVOKE_DECLARED_CONSTRUCTORS ));
79
+ reflectionHints .registerTypes (listOf (classNames ),
80
+ TypeHint .builtWith (MemberCategory .INVOKE_DECLARED_CONSTRUCTORS ));
87
81
}
88
82
89
83
private static List <TypeReference > listOf (String ... classNames ) {
0 commit comments