This commit is contained in:
Stephane Nicoll 2022-06-20 14:54:41 +02:00
parent 56541069ee
commit 4cb9e65353
2 changed files with 10 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class BeanDefinitionMethodGenerator {
beanRegistrationsCode.getClassName(), methodGenerator, codeFragments,
Modifier.PRIVATE);
return MethodReference.ofStatic(beanRegistrationsCode.getClassName(),
generatedMethod.getName().toString());
generatedMethod.getName());
}
private BeanRegistrationCodeFragments getCodeFragments(GenerationContext generationContext,

View File

@ -0,0 +1,9 @@
/**
* Test fixtures for bean factories AOT support.
*/
@NonNullApi
@NonNullFields
package org.springframework.beans.testfixture.beans.factory.aot;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;