[FIR] Make FirFile.annotationsContainer nullable
Previously, when no file annotations were present, the FIR element didn't have a source. By making it nullable, it will only be created when appropriate and the source will never be null. #KT-55835
This commit is contained in:
committed by
Space Team
parent
311975f1ed
commit
bed6cb7154
-14
@@ -1,6 +1,5 @@
|
||||
RAW_FIR:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -21,7 +20,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
IMPORTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -42,7 +40,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
COMPILER_REQUIRED_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -63,7 +60,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
COMPANION_GENERATION:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -84,7 +80,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
SUPER_TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -105,7 +100,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -126,7 +120,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
STATUS:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -147,7 +140,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
EXPECT_ACTUAL_MATCHING:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -168,7 +160,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
ARGUMENTS_OF_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -189,7 +180,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
CONTRACTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -210,7 +200,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
IMPLICIT_TYPES_BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -231,7 +220,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
ANNOTATIONS_ARGUMENTS_MAPPING:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -252,7 +240,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -273,7 +260,6 @@ FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
|
||||
FILE RAW TO BODY:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunctionInsideAnnotationCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=one/Anno.s] s: R|kotlin/String|): R|one/Anno| {
|
||||
super<R|kotlin/Any|>()
|
||||
|
||||
Reference in New Issue
Block a user