FIR: remap Java meta-annotations to Kotlin equivalents

This is a direct port of JavaAnnotationMapper from the old frontend.
This commit is contained in:
pyos
2020-12-01 13:13:13 +03:00
committed by Mikhail Glukhikh
parent a9ad85f306
commit 5efe774dba
15 changed files with 181 additions and 90 deletions
@@ -242,7 +242,7 @@ KtFirFunctionSymbol:
visibility: PUBLIC
KtFirFunctionSymbol:
annotations: [java/lang/Deprecated()]
annotations: [kotlin/Deprecated(message = Deprecated in Java)]
callableIdIfNonLocal: java.lang.String.getBytes
isExtension: false
isExternal: false
@@ -1166,7 +1166,7 @@ KtFirConstructorSymbol:
visibility: PUBLIC
KtFirConstructorSymbol:
annotations: [java/lang/Deprecated()]
annotations: [kotlin/Deprecated(message = Deprecated in Java)]
containingClassIdIfNonLocal: java/lang/String
isPrimary: false
origin: JAVA
@@ -1176,7 +1176,7 @@ KtFirConstructorSymbol:
visibility: PUBLIC
KtFirConstructorSymbol:
annotations: [java/lang/Deprecated()]
annotations: [kotlin/Deprecated(message = Deprecated in Java)]
containingClassIdIfNonLocal: java/lang/String
isPrimary: false
origin: JAVA
@@ -1276,7 +1276,7 @@ KtFirConstructorSymbol:
visibility: UNKNOWN
KtFirConstructorSymbol:
annotations: [java/lang/Deprecated()]
annotations: [kotlin/Deprecated(message = Deprecated in Java)]
containingClassIdIfNonLocal: java/lang/String
isPrimary: false
origin: JAVA