File tree Expand file tree Collapse file tree
java/ql/lib/semmle/code/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ class KotlinType extends Element, @kt_type {
99
1010class KotlinNullableType extends KotlinType , @kt_nullable_type {
1111 override string toString ( ) {
12- exists ( ClassOrInterface ci |
13- kt_nullable_types ( this , ci ) and
14- result = "Kotlin nullable " + ci .toString ( ) )
12+ exists ( RefType javaType |
13+ kt_nullable_types ( this , javaType ) and
14+ result = "Kotlin nullable " + javaType .toString ( ) )
1515 }
1616 override string getAPrimaryQlClass ( ) { result = "KotlinNullableType" }
1717}
1818
1919class KotlinNotnullType extends KotlinType , @kt_notnull_type {
2020 override string toString ( ) {
21- exists ( ClassOrInterface ci |
22- kt_notnull_types ( this , ci ) and
23- result = "Kotlin not-null " + ci .toString ( ) )
21+ exists ( RefType javaType |
22+ kt_notnull_types ( this , javaType ) and
23+ result = "Kotlin not-null " + javaType .toString ( ) )
2424 }
2525 override string getAPrimaryQlClass ( ) { result = "KotlinNotnullType" }
2626}
You can’t perform that action at this time.
0 commit comments