[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
@@ -1,6 +1,5 @@
|
||||
RAW_FIR:
|
||||
FILE: [ResolvedTo(RAW_FIR)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -16,7 +15,6 @@ FILE: [ResolvedTo(RAW_FIR)] lambdaAsSAMInterface.kt
|
||||
|
||||
IMPORTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -32,7 +30,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
COMPILER_REQUIRED_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -48,7 +45,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
COMPANION_GENERATION:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -64,7 +60,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
SUPER_TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -80,7 +75,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -96,7 +90,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
STATUS:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -112,7 +105,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
EXPECT_ACTUAL_MATCHING:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -128,7 +120,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
ARGUMENTS_OF_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -144,7 +135,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
CONTRACTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -165,7 +155,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
IMPLICIT_TYPES_BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -186,7 +175,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
ANNOTATIONS_ARGUMENTS_MAPPING:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -207,7 +195,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
@@ -229,7 +216,6 @@ FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
|
||||
FILE RAW TO BODY:
|
||||
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Arg : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
||||
super<R|kotlin/Any|>()
|
||||
|
||||
Reference in New Issue
Block a user