Restore special instance supplier generation for inner classes
Closes gh-33683
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user