[FIR] DeprecationProvider: inline builder, fix named arguments, cosmetic
This commit is contained in:
committed by
teamcity
parent
a80870bc8f
commit
539e5f82e2
@@ -62,7 +62,7 @@ class FirJavaField @FirImplementationDetail constructor(
|
||||
override val annotations: List<FirAnnotation> by lazy { annotationBuilder() }
|
||||
|
||||
override val deprecationsProvider: DeprecationsProvider by lazy {
|
||||
annotations.getDeprecationsProviderFromAnnotations(true, moduleData.session.firCachesFactory)
|
||||
annotations.getDeprecationsProviderFromAnnotations(fromJava = true, moduleData.session.firCachesFactory)
|
||||
}
|
||||
|
||||
override val contextReceivers: List<FirContextReceiver>
|
||||
|
||||
+1
-1
@@ -320,7 +320,7 @@ class FirSignatureEnhancement(
|
||||
else -> throw AssertionError("Unknown Java method to enhance: ${firMethod.render()}")
|
||||
}.apply {
|
||||
annotations += firMethod.annotations
|
||||
deprecationsProvider = annotations.getDeprecationsProviderFromAnnotations(true, session.firCachesFactory)
|
||||
deprecationsProvider = annotations.getDeprecationsProviderFromAnnotations(fromJava = true, session.firCachesFactory)
|
||||
}.build()
|
||||
|
||||
return function.symbol
|
||||
|
||||
Reference in New Issue
Block a user