SpringKotlinAutowiringInspection: workaround for nameless property (EA-104960)
This commit is contained in:
committed by
asedunov
parent
f7a1c71b54
commit
1b2e28d467
@@ -0,0 +1,25 @@
|
||||
|
||||
// WITH_RUNTIME
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired
|
||||
import org.springframework.stereotype.Component
|
||||
import org.springframework.context.annotation.ComponentScan
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.beans.factory.annotation.Qualifier
|
||||
|
||||
@Configuration
|
||||
@ComponentScan
|
||||
open class InvalidAutowiredByTypeQualifiers
|
||||
|
||||
abstract class AbstractBarBean
|
||||
@Component
|
||||
open class BarBean1 : AbstractBarBean()
|
||||
@Component
|
||||
open class BarBean2 : AbstractBarBean()
|
||||
|
||||
@Component
|
||||
open class IncompleteClassAutowiring() {
|
||||
@Autowired
|
||||
lateinit var : String
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user