Restore special instance supplier generation for inner classes

Closes gh-33683
This commit is contained in:
Juergen Hoeller
2024-10-11 16:59:15 +02:00
parent b748cb38c5
commit 7ea0ac55cd
4 changed files with 96 additions and 46 deletions

View File

@@ -20,16 +20,28 @@ import org.springframework.core.env.Environment;
public class InnerComponentConfiguration {
public static class NoDependencyComponent {
public class NoDependencyComponent {
public NoDependencyComponent() {
}
}
public static class EnvironmentAwareComponent {
public class EnvironmentAwareComponent {
public EnvironmentAwareComponent(Environment environment) {
}
}
public class NoDependencyComponentWithoutPublicConstructor {
NoDependencyComponentWithoutPublicConstructor() {
}
}
public class EnvironmentAwareComponentWithoutPublicConstructor {
EnvironmentAwareComponentWithoutPublicConstructor(Environment environment) {
}
}
}