File tree Expand file tree Collapse file tree 8 files changed +4
-23
lines changed
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree 8 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -8053,7 +8053,7 @@ open class KotlinFileExtractor(
8053
8053
?.symbol
8054
8054
?.typeWithArguments(listOf (functionNTypeArguments.last()))
8055
8055
else
8056
- functionN( pluginContext) (functionNTypeArguments.size - 1 )
8056
+ pluginContext.irBuiltIns.functionN (functionNTypeArguments.size - 1 )
8057
8057
.symbol
8058
8058
.typeWithArguments(functionNTypeArguments)
8059
8059
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package com.github.codeql
2
2
3
3
import com.github.codeql.utils.versions.copyParameterToFunction
4
4
import com.github.codeql.utils.versions.createImplicitParameterDeclarationWithWrappedDescriptor
5
- import com.github.codeql.utils.versions.getAnnotationType
6
5
import java.lang.annotation.ElementType
7
6
import java.util.HashSet
8
7
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
@@ -375,7 +374,7 @@ class MetaAnnotationSupport(
375
374
.apply {
376
375
createImplicitParameterDeclarationWithWrappedDescriptor()
377
376
parent = annotationClass
378
- superTypes = listOf (getAnnotationType( pluginContext) )
377
+ superTypes = listOf (pluginContext.irBuiltIns.annotationType )
379
378
}
380
379
381
380
val propertyName = Name .identifier(" value" )
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
package com.github.codeql.utils.versions
2
2
3
3
import org.jetbrains.kotlin.ir.types.*
4
+ import org.jetbrains.kotlin.ir.IrBuiltIns
4
5
5
6
fun IrType.isNullableCodeQL (): Boolean =
6
7
this .isNullable()
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.github.codeql.utils.versions
2
2
3
3
import org.jetbrains.kotlin.ir.types.IrType
4
4
import org.jetbrains.kotlin.ir.util.*
5
+ import org.jetbrains.kotlin.ir.IrBuiltIns
5
6
6
7
fun IrType.isNullableCodeQL (): Boolean =
7
8
this .isNullable()
You can’t perform that action at this time.
0 commit comments