Sourabh Rawat
02/25/2022, 10:46 AM@Component
class Foo {
inline fun foo() {}
}
gives me
inline' modifier is not allowed on virtual members. Only private or final members can be inlinedSam
02/25/2022, 11:00 AM@Component classes and their public members open by default, to allow Spring to do its thing. That would explain why foo is not being treated as a final function.Sourabh Rawat
02/25/2022, 11:02 AMSam
02/25/2022, 11:04 AMfinalSam
02/25/2022, 11:04 AM@Component
class Foo {
final inline fun foo() {}
}