diff --git a/compiler/fir/evaluate/src/org/jetbrains/kotlin/fir/evaluate/FirOperationsMapGenerated.kt b/compiler/fir/evaluate/src/org/jetbrains/kotlin/fir/evaluate/FirOperationsMapGenerated.kt index af308e6dc4a..7df35e7c21c 100644 --- a/compiler/fir/evaluate/src/org/jetbrains/kotlin/fir/evaluate/FirOperationsMapGenerated.kt +++ b/compiler/fir/evaluate/src/org/jetbrains/kotlin/fir/evaluate/FirOperationsMapGenerated.kt @@ -1,18 +1,8 @@ /* - * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ +@file:Suppress("DEPRECATION", "DEPRECATION_ERROR") package org.jetbrains.kotlin.fir.evaluate diff --git a/generators/evaluate/GenerateFirOperationsMap.kt b/generators/evaluate/GenerateFirOperationsMap.kt index 36171c4140f..11b850aa03d 100644 --- a/generators/evaluate/GenerateFirOperationsMap.kt +++ b/generators/evaluate/GenerateFirOperationsMap.kt @@ -26,7 +26,8 @@ fun main() { fun generateFirMap(): String { val sb = StringBuilder() val p = Printer(sb) - p.println(File("license/COPYRIGHT.txt").readText()) + p.println(File("license/COPYRIGHT_HEADER.txt").readText()) + p.println("@file:Suppress(\"DEPRECATION\", \"DEPRECATION_ERROR\")") p.println( """