Polishing

This commit is contained in:
Sam Brannen
2022-09-02 10:23:53 +02:00
parent 505da5c602
commit 73abd58202
4 changed files with 18 additions and 22 deletions

View File

@@ -220,8 +220,8 @@ public class TestContextAotGenerator {
new AotTestMappingsCodeGenerator(initializerClassMappings, generatedClasses);
generationContext.writeGeneratedContent();
String className = codeGenerator.getGeneratedClass().getName().reflectionName();
this.runtimeHints.reflection().registerType(TypeReference.of(className),
builder -> builder.withMembers(MemberCategory.INVOKE_PUBLIC_METHODS));
this.runtimeHints.reflection()
.registerType(TypeReference.of(className), MemberCategory.INVOKE_PUBLIC_METHODS);
}
}