mirror of
https://github.com/github/codeql.git
synced 2026-04-23 15:55:18 +02:00
Kotlin: Accept 2.0 output for integration tests, and run some in 1.9 mode
This commit is contained in:
@@ -163,25 +163,25 @@ test.kt:
|
||||
# 23| 2: [IntegerLiteral] 2
|
||||
# 23| 3: [IntegerLiteral] 3
|
||||
# 17| 2: [Annotation] Ann1
|
||||
# 0| 1: [Annotation] Ann2
|
||||
# 0| 1: [StringLiteral] "Hello"
|
||||
# 0| 2: [TypeLiteral] String.class
|
||||
# 0| 0: [TypeAccess] String
|
||||
# 0| 3: [ArrayInit] {...}
|
||||
# 0| 1: [IntegerLiteral] 1
|
||||
# 0| 2: [IntegerLiteral] 2
|
||||
# 0| 3: [IntegerLiteral] 3
|
||||
# 0| 4: [ArrayInit] {...}
|
||||
# 0| 1: [Annotation] Ann3
|
||||
# 0| 1: [IntegerLiteral] 1
|
||||
# 0| 2: [Annotation] Ann3
|
||||
# 0| 1: [IntegerLiteral] 2
|
||||
# 0| 5: [ArrayInit] {...}
|
||||
# 0| 1: [TypeLiteral] String.class
|
||||
# 0| 0: [TypeAccess] String
|
||||
# 0| 2: [TypeLiteral] int.class
|
||||
# 0| 0: [TypeAccess] int
|
||||
# 17| 2: [IntegerLiteral] 1
|
||||
# 17| 1: [IntegerLiteral] 1
|
||||
# 17| 2: [Annotation] Ann2
|
||||
# 17| 1: [StringLiteral] "Hello"
|
||||
# 17| 2: [TypeLiteral] String.class
|
||||
# 17| 0: [TypeAccess] String
|
||||
# 17| 3: [ArrayInit] {...}
|
||||
# 17| 1: [IntegerLiteral] 1
|
||||
# 17| 2: [IntegerLiteral] 2
|
||||
# 17| 3: [IntegerLiteral] 3
|
||||
# 17| 4: [ArrayInit] {...}
|
||||
# 17| 1: [Annotation] Ann3
|
||||
# 17| 1: [IntegerLiteral] 1
|
||||
# 17| 2: [Annotation] Ann3
|
||||
# 17| 1: [IntegerLiteral] 2
|
||||
# 17| 5: [ArrayInit] {...}
|
||||
# 17| 1: [TypeLiteral] String.class
|
||||
# 17| 0: [TypeAccess] String
|
||||
# 17| 2: [TypeLiteral] int.class
|
||||
# 17| 0: [TypeAccess] int
|
||||
# 17| 3: [VarAccess] DayOfWeek.MONDAY
|
||||
# 17| -1: [TypeAccess] DayOfWeek
|
||||
# 18| 3: [Annotation] GenericAnnotation
|
||||
@@ -193,17 +193,17 @@ test.kt:
|
||||
# 18| 2: [TypeLiteral] String.class
|
||||
# 18| 0: [TypeAccess] String
|
||||
# 24| 4: [Annotation] AnnWithDefaults
|
||||
# 0| 1: [IntegerLiteral] 1
|
||||
# 0| 2: [StringLiteral] "hello"
|
||||
# 0| 3: [VarAccess] DayOfWeek.TUESDAY
|
||||
# 0| -1: [TypeAccess] DayOfWeek
|
||||
# 0| 4: [ArrayInit] {...}
|
||||
# 0| 1: [Annotation] Ann3
|
||||
# 0| 1: [IntegerLiteral] 1
|
||||
# 25| 1: [Constructor] Annotated
|
||||
# 15| 1: [IntegerLiteral] 1
|
||||
# 15| 2: [StringLiteral] "hello"
|
||||
# 15| 3: [VarAccess] DayOfWeek.TUESDAY
|
||||
# 15| -1: [TypeAccess] DayOfWeek
|
||||
# 15| 4: [ArrayInit] {...}
|
||||
# 15| 1: [Annotation] Ann3
|
||||
# 15| 1: [IntegerLiteral] 1
|
||||
# 17| 1: [Constructor] Annotated
|
||||
# 17| 5: [BlockStmt] { ... }
|
||||
# 17| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 25| 1: [BlockStmt] { ... }
|
||||
# 17| 1: [BlockStmt] { ... }
|
||||
# 27| 9: [Class] AnnotatedUsedByKotlin
|
||||
#-----| -3: (Annotations)
|
||||
# 0| 1: [Annotation] Container
|
||||
@@ -228,25 +228,25 @@ test.kt:
|
||||
# 33| 2: [IntegerLiteral] 2
|
||||
# 33| 3: [IntegerLiteral] 3
|
||||
# 27| 2: [Annotation] Ann1
|
||||
# 0| 1: [Annotation] Ann2
|
||||
# 0| 1: [StringLiteral] "Hello"
|
||||
# 0| 2: [TypeLiteral] String.class
|
||||
# 0| 0: [TypeAccess] String
|
||||
# 0| 3: [ArrayInit] {...}
|
||||
# 0| 1: [IntegerLiteral] 1
|
||||
# 0| 2: [IntegerLiteral] 2
|
||||
# 0| 3: [IntegerLiteral] 3
|
||||
# 0| 4: [ArrayInit] {...}
|
||||
# 0| 1: [Annotation] Ann3
|
||||
# 0| 1: [IntegerLiteral] 1
|
||||
# 0| 2: [Annotation] Ann3
|
||||
# 0| 1: [IntegerLiteral] 2
|
||||
# 0| 5: [ArrayInit] {...}
|
||||
# 0| 1: [TypeLiteral] String.class
|
||||
# 0| 0: [TypeAccess] String
|
||||
# 0| 2: [TypeLiteral] int.class
|
||||
# 0| 0: [TypeAccess] int
|
||||
# 27| 2: [IntegerLiteral] 1
|
||||
# 27| 1: [IntegerLiteral] 1
|
||||
# 27| 2: [Annotation] Ann2
|
||||
# 27| 1: [StringLiteral] "Hello"
|
||||
# 27| 2: [TypeLiteral] String.class
|
||||
# 27| 0: [TypeAccess] String
|
||||
# 27| 3: [ArrayInit] {...}
|
||||
# 27| 1: [IntegerLiteral] 1
|
||||
# 27| 2: [IntegerLiteral] 2
|
||||
# 27| 3: [IntegerLiteral] 3
|
||||
# 27| 4: [ArrayInit] {...}
|
||||
# 27| 1: [Annotation] Ann3
|
||||
# 27| 1: [IntegerLiteral] 1
|
||||
# 27| 2: [Annotation] Ann3
|
||||
# 27| 1: [IntegerLiteral] 2
|
||||
# 27| 5: [ArrayInit] {...}
|
||||
# 27| 1: [TypeLiteral] String.class
|
||||
# 27| 0: [TypeAccess] String
|
||||
# 27| 2: [TypeLiteral] int.class
|
||||
# 27| 0: [TypeAccess] int
|
||||
# 27| 3: [VarAccess] DayOfWeek.MONDAY
|
||||
# 27| -1: [TypeAccess] DayOfWeek
|
||||
# 28| 3: [Annotation] GenericAnnotation
|
||||
@@ -258,44 +258,48 @@ test.kt:
|
||||
# 28| 2: [TypeLiteral] String.class
|
||||
# 28| 0: [TypeAccess] String
|
||||
# 34| 4: [Annotation] AnnWithDefaults
|
||||
# 0| 1: [IntegerLiteral] 1
|
||||
# 0| 2: [StringLiteral] "hello"
|
||||
# 0| 3: [VarAccess] DayOfWeek.TUESDAY
|
||||
# 0| -1: [TypeAccess] DayOfWeek
|
||||
# 0| 4: [ArrayInit] {...}
|
||||
# 0| 1: [Annotation] Ann3
|
||||
# 0| 1: [IntegerLiteral] 1
|
||||
# 35| 1: [Constructor] AnnotatedUsedByKotlin
|
||||
# 15| 1: [IntegerLiteral] 1
|
||||
# 15| 2: [StringLiteral] "hello"
|
||||
# 15| 3: [VarAccess] DayOfWeek.TUESDAY
|
||||
# 15| -1: [TypeAccess] DayOfWeek
|
||||
# 15| 4: [ArrayInit] {...}
|
||||
# 15| 1: [Annotation] Ann3
|
||||
# 15| 1: [IntegerLiteral] 1
|
||||
# 27| 1: [Constructor] AnnotatedUsedByKotlin
|
||||
# 27| 5: [BlockStmt] { ... }
|
||||
# 27| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 35| 1: [BlockStmt] { ... }
|
||||
# 27| 1: [BlockStmt] { ... }
|
||||
# 37| 10: [Class] HasJavaDeprecatedAnnotationUsedByJava
|
||||
#-----| -3: (Annotations)
|
||||
# 37| 1: [Annotation] Deprecated
|
||||
# 38| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByJava
|
||||
# 0| 1: [StringLiteral] ""
|
||||
# 0| 2: [BooleanLiteral] false
|
||||
# 37| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByJava
|
||||
# 37| 5: [BlockStmt] { ... }
|
||||
# 37| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 38| 1: [BlockStmt] { ... }
|
||||
# 37| 1: [BlockStmt] { ... }
|
||||
# 40| 11: [Class] HasKotlinDeprecatedAnnotationUsedByJava
|
||||
#-----| -3: (Annotations)
|
||||
# 40| 1: [Annotation] Deprecated
|
||||
# 40| 1: [StringLiteral] "Kotlin deprecation message 1"
|
||||
# 41| 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByJava
|
||||
# 40| 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByJava
|
||||
# 40| 5: [BlockStmt] { ... }
|
||||
# 40| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 41| 1: [BlockStmt] { ... }
|
||||
# 40| 1: [BlockStmt] { ... }
|
||||
# 43| 12: [Class] HasJavaDeprecatedAnnotationUsedByKotlin
|
||||
#-----| -3: (Annotations)
|
||||
# 43| 1: [Annotation] Deprecated
|
||||
# 44| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByKotlin
|
||||
# 0| 1: [StringLiteral] ""
|
||||
# 0| 2: [BooleanLiteral] false
|
||||
# 43| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByKotlin
|
||||
# 43| 5: [BlockStmt] { ... }
|
||||
# 43| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 44| 1: [BlockStmt] { ... }
|
||||
# 43| 1: [BlockStmt] { ... }
|
||||
# 46| 13: [Class] HasKotlinDeprecatedAnnotationUsedByKotlin
|
||||
#-----| -3: (Annotations)
|
||||
# 46| 1: [Annotation] Deprecated
|
||||
# 46| 1: [StringLiteral] "Kotlin deprecation message 2"
|
||||
# 47| 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByKotlin
|
||||
# 46| 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByKotlin
|
||||
# 46| 5: [BlockStmt] { ... }
|
||||
# 46| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 47| 1: [BlockStmt] { ... }
|
||||
# 46| 1: [BlockStmt] { ... }
|
||||
|
||||
@@ -3,4 +3,4 @@ import glob
|
||||
|
||||
os.mkdir('build')
|
||||
runSuccessfully(["javac"] + glob.glob("*.java") + ["-d", "build"])
|
||||
run_codeql_database_create(["javac " + " ".join(glob.glob("*.java")) + " -d build", "kotlinc user.kt -cp build"], lang="java")
|
||||
run_codeql_database_create(["javac " + " ".join(glob.glob("*.java")) + " -d build", "kotlinc -language-version 1.9 user.kt -cp build"], lang="java")
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| user.kt:3:15:3:22 | getF(...) | lib/lib/TestKt.class:0:0:0:0 | getF |
|
||||
| user.kt:3:14:3:22 | getF(...) | lib/lib/TestKt.class:0:0:0:0 | getF |
|
||||
| user.kt:3:26:3:28 | getF(...) | lib/lib/TestKt.class:0:0:0:0 | getF |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from create_database_utils import *
|
||||
|
||||
os.mkdir('lib')
|
||||
runSuccessfully([get_cmd("kotlinc"), "test.kt", "-d", "lib"])
|
||||
run_codeql_database_create(["kotlinc user.kt -cp lib"], lang="java")
|
||||
runSuccessfully([get_cmd("kotlinc"), "-language-version", "1.9", "test.kt", "-d", "lib"])
|
||||
run_codeql_database_create(["kotlinc -language-version 1.9 user.kt -cp lib"], lang="java")
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create(["kotlinc -J-Xmx2G SomeClass.kt"], lang="java")
|
||||
run_codeql_database_create(["kotlinc -J-Xmx2G -language-version 1.9 SomeClass.kt"], lang="java")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from create_database_utils import *
|
||||
|
||||
runSuccessfully([get_cmd("kotlinc"), 'A.kt'])
|
||||
run_codeql_database_create(['kotlinc -cp . B.kt C.kt'], lang="java")
|
||||
runSuccessfully([get_cmd("kotlinc"), '-language-version', '1.9', 'A.kt'])
|
||||
run_codeql_database_create(['kotlinc -cp . -language-version 1.9 B.kt C.kt'], lang="java")
|
||||
|
||||
@@ -2,4 +2,4 @@ from create_database_utils import *
|
||||
|
||||
os.mkdir('bin')
|
||||
runSuccessfully(["javac", "Test.java", "-d", "bin"])
|
||||
run_codeql_database_create(["kotlinc user.kt -cp bin"], lang="java")
|
||||
run_codeql_database_create(["kotlinc -language-version 1.9 user.kt -cp bin"], lang="java")
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| extlib.jar/extlib/A.class:0:0:0:0 | m | protected |
|
||||
| test.kt:4:12:4:22 | m | override, protected |
|
||||
| test.kt:4:3:4:22 | m | override, protected |
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
| test.kt:3:17:3:45 | f | test.kt:3:23:3:32 | x |
|
||||
| test.kt:3:17:3:45 | f | test.kt:3:35:3:40 | y |
|
||||
| test.kt:3:17:3:45 | f | test.kt:3:35:3:40 | y |
|
||||
| test.kt:3:17:3:45 | f$default | test.kt:3:17:3:45 | p0 |
|
||||
| test.kt:3:17:3:45 | f$default | test.kt:3:17:3:45 | p1 |
|
||||
| test.kt:3:17:3:45 | f$default | test.kt:3:17:3:45 | p2 |
|
||||
| test.kt:3:17:3:45 | f$default | test.kt:3:17:3:45 | p3 |
|
||||
| test.kt:3:17:3:45 | f$default | test.kt:3:17:3:45 | p4 |
|
||||
| test.kt:3:3:3:45 | f | test.kt:3:23:3:32 | x |
|
||||
| test.kt:3:3:3:45 | f | test.kt:3:35:3:40 | y |
|
||||
| test.kt:3:3:3:45 | f | test.kt:3:35:3:40 | y |
|
||||
| test.kt:3:3:3:45 | f$default | test.kt:3:3:3:45 | p0 |
|
||||
| test.kt:3:3:3:45 | f$default | test.kt:3:3:3:45 | p1 |
|
||||
| test.kt:3:3:3:45 | f$default | test.kt:3:3:3:45 | p2 |
|
||||
| test.kt:3:3:3:45 | f$default | test.kt:3:3:3:45 | p3 |
|
||||
| test.kt:3:3:3:45 | f$default | test.kt:3:3:3:45 | p4 |
|
||||
|
||||
@@ -2,4 +2,4 @@ from create_database_utils import *
|
||||
|
||||
# Compile the JavaDefns2 copy outside tracing, to make sure the Kotlin view of it matches the Java view seen by the traced javac compilation of JavaDefns.java below.
|
||||
runSuccessfully(["javac", "JavaDefns2.java"])
|
||||
run_codeql_database_create(["kotlinc kotlindefns.kt", "javac JavaUser.java JavaDefns.java -cp .", "kotlinc -cp . kotlinuser.kt"], lang="java")
|
||||
run_codeql_database_create(["kotlinc kotlindefns.kt", "javac JavaUser.java JavaDefns.java -cp .", "kotlinc -language-version 1.9 -cp . kotlinuser.kt"], lang="java")
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
edges
|
||||
| hasFields.kt:5:5:5:34 | constField : String | ReadsFields.java:5:10:5:29 | HasFields.constField | provenance | |
|
||||
| hasFields.kt:5:28:5:34 | "taint" : String | hasFields.kt:5:5:5:34 | constField : String | provenance | |
|
||||
| hasFields.kt:7:5:7:38 | <set-?> : String | hasFields.kt:7:5:7:38 | <set-?> : String | provenance | |
|
||||
| hasFields.kt:7:5:7:38 | <set-?> : String | hasFields.kt:7:5:7:38 | lateinitField : String | provenance | |
|
||||
| hasFields.kt:7:5:7:38 | lateinitField : String | ReadsFields.java:6:10:6:32 | HasFields.lateinitField | provenance | |
|
||||
| hasFields.kt:7:14:7:38 | <set-?> : String | hasFields.kt:7:5:7:38 | lateinitField : String | provenance | |
|
||||
| hasFields.kt:7:14:7:38 | <set-?> : String | hasFields.kt:7:14:7:38 | <set-?> : String | provenance | |
|
||||
| hasFields.kt:9:5:9:50 | jvmFieldAnnotatedField : String | ReadsFields.java:7:10:7:41 | HasFields.jvmFieldAnnotatedField | provenance | |
|
||||
| hasFields.kt:9:44:9:50 | "taint" : String | hasFields.kt:9:5:9:50 | jvmFieldAnnotatedField : String | provenance | |
|
||||
| hasFields.kt:14:22:14:26 | "taint" : String | hasFields.kt:7:14:7:38 | <set-?> : String | provenance | |
|
||||
| hasFields.kt:14:21:14:27 | "taint" : String | hasFields.kt:7:5:7:38 | <set-?> : String | provenance | |
|
||||
nodes
|
||||
| ReadsFields.java:5:10:5:29 | HasFields.constField | semmle.label | HasFields.constField |
|
||||
| ReadsFields.java:6:10:6:32 | HasFields.lateinitField | semmle.label | HasFields.lateinitField |
|
||||
| ReadsFields.java:7:10:7:41 | HasFields.jvmFieldAnnotatedField | semmle.label | HasFields.jvmFieldAnnotatedField |
|
||||
| hasFields.kt:5:5:5:34 | constField : String | semmle.label | constField : String |
|
||||
| hasFields.kt:5:28:5:34 | "taint" : String | semmle.label | "taint" : String |
|
||||
| hasFields.kt:7:5:7:38 | <set-?> : String | semmle.label | <set-?> : String |
|
||||
| hasFields.kt:7:5:7:38 | <set-?> : String | semmle.label | <set-?> : String |
|
||||
| hasFields.kt:7:5:7:38 | lateinitField : String | semmle.label | lateinitField : String |
|
||||
| hasFields.kt:7:14:7:38 | <set-?> : String | semmle.label | <set-?> : String |
|
||||
| hasFields.kt:7:14:7:38 | <set-?> : String | semmle.label | <set-?> : String |
|
||||
| hasFields.kt:9:5:9:50 | jvmFieldAnnotatedField : String | semmle.label | jvmFieldAnnotatedField : String |
|
||||
| hasFields.kt:9:44:9:50 | "taint" : String | semmle.label | "taint" : String |
|
||||
| hasFields.kt:14:22:14:26 | "taint" : String | semmle.label | "taint" : String |
|
||||
| hasFields.kt:14:21:14:27 | "taint" : String | semmle.label | "taint" : String |
|
||||
subpaths
|
||||
#select
|
||||
| hasFields.kt:5:28:5:34 | "taint" : String | hasFields.kt:5:28:5:34 | "taint" : String | ReadsFields.java:5:10:5:29 | HasFields.constField | flow path |
|
||||
| hasFields.kt:9:44:9:50 | "taint" : String | hasFields.kt:9:44:9:50 | "taint" : String | ReadsFields.java:7:10:7:41 | HasFields.jvmFieldAnnotatedField | flow path |
|
||||
| hasFields.kt:14:22:14:26 | "taint" : String | hasFields.kt:14:22:14:26 | "taint" : String | ReadsFields.java:6:10:6:32 | HasFields.lateinitField | flow path |
|
||||
| hasFields.kt:14:21:14:27 | "taint" : String | hasFields.kt:14:21:14:27 | "taint" : String | ReadsFields.java:6:10:6:32 | HasFields.lateinitField | flow path |
|
||||
|
||||
@@ -76,7 +76,7 @@ callArgs
|
||||
| KotlinUser.kt:10:34:10:65 | new InnerGeneric<String>(...) | KotlinUser.kt:10:14:10:32 | new OuterGeneric<Integer>(...) | -2 |
|
||||
| KotlinUser.kt:10:34:10:65 | new InnerGeneric<String>(...) | KotlinUser.kt:10:34:10:65 | InnerGeneric<String> | -3 |
|
||||
| KotlinUser.kt:10:34:10:65 | new InnerGeneric<String>(...) | KotlinUser.kt:10:47:10:49 | a | 0 |
|
||||
| KotlinUser.kt:10:34:10:65 | new InnerGeneric<String>(...) | KotlinUser.kt:10:53:10:63 | "hello world" | 1 |
|
||||
| KotlinUser.kt:10:34:10:65 | new InnerGeneric<String>(...) | KotlinUser.kt:10:52:10:64 | "hello world" | 1 |
|
||||
| KotlinUser.kt:11:13:11:31 | new OuterGeneric<Integer>(...) | KotlinUser.kt:11:13:11:31 | OuterGeneric<Integer> | -3 |
|
||||
| KotlinUser.kt:11:33:11:49 | new InnerNotGeneric<>(...) | KotlinUser.kt:11:13:11:31 | new OuterGeneric<Integer>(...) | -2 |
|
||||
| KotlinUser.kt:11:33:11:49 | new InnerNotGeneric<>(...) | KotlinUser.kt:11:33:11:49 | InnerNotGeneric<> | -3 |
|
||||
@@ -88,10 +88,10 @@ callArgs
|
||||
| KotlinUser.kt:13:31:13:52 | new InnerGeneric<String>(...) | KotlinUser.kt:13:31:13:52 | InnerGeneric<String> | -3 |
|
||||
| KotlinUser.kt:14:26:14:63 | new InnerStaticGeneric<String>(...) | KotlinUser.kt:14:26:14:63 | InnerStaticGeneric<String> | -3 |
|
||||
| KotlinUser.kt:14:26:14:63 | new InnerStaticGeneric<String>(...) | KotlinUser.kt:14:45:14:47 | a | 0 |
|
||||
| KotlinUser.kt:14:26:14:63 | new InnerStaticGeneric<String>(...) | KotlinUser.kt:14:51:14:61 | "hello world" | 1 |
|
||||
| KotlinUser.kt:14:26:14:63 | new InnerStaticGeneric<String>(...) | KotlinUser.kt:14:50:14:62 | "hello world" | 1 |
|
||||
| KotlinUser.kt:15:13:15:39 | new OuterManyParams<Integer,String>(...) | KotlinUser.kt:15:13:15:39 | OuterManyParams<Integer,String> | -3 |
|
||||
| KotlinUser.kt:15:13:15:39 | new OuterManyParams<Integer,String>(...) | KotlinUser.kt:15:29:15:29 | 1 | 0 |
|
||||
| KotlinUser.kt:15:13:15:39 | new OuterManyParams<Integer,String>(...) | KotlinUser.kt:15:33:15:37 | "hello" | 1 |
|
||||
| KotlinUser.kt:15:13:15:39 | new OuterManyParams<Integer,String>(...) | KotlinUser.kt:15:32:15:38 | "hello" | 1 |
|
||||
| KotlinUser.kt:15:41:15:67 | new MiddleManyParams<Float,Double>(...) | KotlinUser.kt:15:13:15:39 | new OuterManyParams<Integer,String>(...) | -2 |
|
||||
| KotlinUser.kt:15:41:15:67 | new MiddleManyParams<Float,Double>(...) | KotlinUser.kt:15:41:15:67 | MiddleManyParams<Float,Double> | -3 |
|
||||
| KotlinUser.kt:15:41:15:67 | new MiddleManyParams<Float,Double>(...) | KotlinUser.kt:15:58:15:61 | 1.0 | 0 |
|
||||
@@ -103,23 +103,23 @@ callArgs
|
||||
| KotlinUser.kt:15:89:15:99 | shortValue(...) | KotlinUser.kt:15:89:15:89 | 1 | -1 |
|
||||
| KotlinUser.kt:17:19:17:44 | returnsecond(...) | KotlinUser.kt:17:19:17:19 | a | -1 |
|
||||
| KotlinUser.kt:17:19:17:44 | returnsecond(...) | KotlinUser.kt:17:34:17:34 | 0 | 0 |
|
||||
| KotlinUser.kt:17:19:17:44 | returnsecond(...) | KotlinUser.kt:17:38:17:42 | "hello" | 1 |
|
||||
| KotlinUser.kt:17:19:17:44 | returnsecond(...) | KotlinUser.kt:17:37:17:43 | "hello" | 1 |
|
||||
| KotlinUser.kt:18:20:18:50 | returnsecond(...) | KotlinUser.kt:18:20:18:20 | a | -1 |
|
||||
| KotlinUser.kt:18:20:18:50 | returnsecond(...) | KotlinUser.kt:18:20:18:50 | Character | -2 |
|
||||
| KotlinUser.kt:18:20:18:50 | returnsecond(...) | KotlinUser.kt:18:35:18:35 | 0 | 0 |
|
||||
| KotlinUser.kt:18:20:18:50 | returnsecond(...) | KotlinUser.kt:18:39:18:43 | "hello" | 1 |
|
||||
| KotlinUser.kt:18:20:18:50 | returnsecond(...) | KotlinUser.kt:18:38:18:44 | "hello" | 1 |
|
||||
| KotlinUser.kt:18:20:18:50 | returnsecond(...) | KotlinUser.kt:18:47:18:49 | a | 2 |
|
||||
| KotlinUser.kt:19:19:19:31 | identity(...) | KotlinUser.kt:19:19:19:19 | b | -1 |
|
||||
| KotlinUser.kt:19:19:19:31 | identity(...) | KotlinUser.kt:19:30:19:30 | 5 | 0 |
|
||||
| KotlinUser.kt:20:20:20:39 | identity(...) | KotlinUser.kt:20:20:20:21 | b2 | -1 |
|
||||
| KotlinUser.kt:20:20:20:39 | identity(...) | KotlinUser.kt:20:33:20:37 | "hello" | 0 |
|
||||
| KotlinUser.kt:20:20:20:39 | identity(...) | KotlinUser.kt:20:32:20:38 | "hello" | 0 |
|
||||
| KotlinUser.kt:21:19:21:37 | identity(...) | KotlinUser.kt:21:19:21:19 | c | -1 |
|
||||
| KotlinUser.kt:21:19:21:37 | identity(...) | KotlinUser.kt:21:31:21:35 | "world" | 0 |
|
||||
| KotlinUser.kt:21:19:21:37 | identity(...) | KotlinUser.kt:21:30:21:36 | "world" | 0 |
|
||||
| KotlinUser.kt:22:19:22:39 | identity(...) | KotlinUser.kt:22:19:22:19 | d | -1 |
|
||||
| KotlinUser.kt:22:19:22:39 | identity(...) | KotlinUser.kt:22:31:22:37 | "goodbye" | 0 |
|
||||
| KotlinUser.kt:22:19:22:39 | identity(...) | KotlinUser.kt:22:30:22:38 | "goodbye" | 0 |
|
||||
| KotlinUser.kt:23:19:23:71 | returnSixth(...) | KotlinUser.kt:23:19:23:19 | e | -1 |
|
||||
| KotlinUser.kt:23:19:23:71 | returnSixth(...) | KotlinUser.kt:23:33:23:33 | 1 | 0 |
|
||||
| KotlinUser.kt:23:19:23:71 | returnSixth(...) | KotlinUser.kt:23:37:23:41 | "hello" | 1 |
|
||||
| KotlinUser.kt:23:19:23:71 | returnSixth(...) | KotlinUser.kt:23:36:23:42 | "hello" | 1 |
|
||||
| KotlinUser.kt:23:19:23:71 | returnSixth(...) | KotlinUser.kt:23:45:23:48 | 1.0 | 2 |
|
||||
| KotlinUser.kt:23:19:23:71 | returnSixth(...) | KotlinUser.kt:23:51:23:53 | 1.0 | 3 |
|
||||
| KotlinUser.kt:23:19:23:71 | returnSixth(...) | KotlinUser.kt:23:56:23:57 | 1 | 4 |
|
||||
@@ -319,28 +319,28 @@ javaKotlinConstructorAgreement
|
||||
| JavaUser.java:25:62:25:82 | new OuterNotGeneric(...) | KotlinUser.kt:26:28:26:44 | new OuterNotGeneric(...) | extlib.jar/extlib/OuterNotGeneric.class:0:0:0:0 | OuterNotGeneric |
|
||||
| JavaUser.java:27:39:27:71 | new TypeParamVisibility<String>(...) | KotlinUser.kt:28:15:28:43 | new TypeParamVisibility<String>(...) | extlib.jar/extlib/TypeParamVisibility.class:0:0:0:0 | TypeParamVisibility<String> |
|
||||
javaKotlinLocalTypeAgreement
|
||||
| JavaUser.java:7:5:7:111 | InnerGeneric<String> a | KotlinUser.kt:9:9:9:9 | InnerGeneric<String> a | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:7:5:7:111 | InnerGeneric<String> a | KotlinUser.kt:10:9:10:10 | InnerGeneric<String> a2 | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:8:5:8:124 | InnerGeneric<String> a2 | KotlinUser.kt:9:9:9:9 | InnerGeneric<String> a | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:8:5:8:124 | InnerGeneric<String> a2 | KotlinUser.kt:10:9:10:10 | InnerGeneric<String> a2 | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:9:5:9:139 | InnerGeneric<String> a3 | KotlinUser.kt:9:9:9:9 | InnerGeneric<String> a | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:9:5:9:139 | InnerGeneric<String> a3 | KotlinUser.kt:10:9:10:10 | InnerGeneric<String> a2 | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:10:5:10:98 | InnerNotGeneric<> b | KotlinUser.kt:11:9:11:9 | InnerNotGeneric<> b | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:11:5:11:97 | InnerNotGeneric<> b2 | KotlinUser.kt:12:9:12:10 | InnerNotGeneric<> b2 | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:11:5:11:97 | InnerNotGeneric<> b2 | KotlinUser.kt:25:9:25:23 | InnerNotGeneric<> innerGetterTest | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:12:5:12:96 | InnerGeneric<String> c | KotlinUser.kt:13:9:13:9 | InnerGeneric<String> c | extlib.jar/extlib/OuterNotGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:12:5:12:96 | InnerGeneric<String> c | KotlinUser.kt:26:9:26:24 | InnerGeneric<String> innerGetterTest2 | extlib.jar/extlib/OuterNotGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:13:5:13:112 | InnerStaticGeneric<String> d | KotlinUser.kt:14:9:14:9 | InnerStaticGeneric<String> d | extlib.jar/extlib/OuterGeneric$InnerStaticGeneric.class:0:0:0:0 | InnerStaticGeneric<String> |
|
||||
| JavaUser.java:14:5:14:249 | InnerManyParams<Long,Short> e | KotlinUser.kt:15:9:15:9 | InnerManyParams<Long,Short> e | extlib.jar/extlib/OuterManyParams$MiddleManyParams$InnerManyParams.class:0:0:0:0 | InnerManyParams<Long,Short> |
|
||||
| JavaUser.java:24:5:24:109 | InnerNotGeneric<> innerGetterTest | KotlinUser.kt:12:9:12:10 | InnerNotGeneric<> b2 | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:24:5:24:109 | InnerNotGeneric<> innerGetterTest | KotlinUser.kt:25:9:25:23 | InnerNotGeneric<> innerGetterTest | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:25:5:25:102 | InnerGeneric<String> innerGetterTest2 | KotlinUser.kt:13:9:13:9 | InnerGeneric<String> c | extlib.jar/extlib/OuterNotGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:25:5:25:102 | InnerGeneric<String> innerGetterTest2 | KotlinUser.kt:26:9:26:24 | InnerGeneric<String> innerGetterTest2 | extlib.jar/extlib/OuterNotGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:27:5:27:72 | TypeParamVisibility<String> tpv | KotlinUser.kt:28:9:28:11 | TypeParamVisibility<String> tpv | extlib.jar/extlib/TypeParamVisibility.class:0:0:0:0 | TypeParamVisibility<String> |
|
||||
| JavaUser.java:28:5:28:111 | VisibleBecauseInner<String> visibleBecauseInner | KotlinUser.kt:29:9:29:27 | VisibleBecauseInner<String> visibleBecauseInner | extlib.jar/extlib/TypeParamVisibility$VisibleBecauseInner.class:0:0:0:0 | VisibleBecauseInner<String> |
|
||||
| JavaUser.java:29:5:29:172 | VisibleBecauseInnerIndirect<String> visibleBecauseInnerIndirect | KotlinUser.kt:30:9:30:35 | VisibleBecauseInnerIndirect<String> visibleBecauseInnerIndirect | extlib.jar/extlib/TypeParamVisibility$VisibleBecauseInnerIndirectContainer$VisibleBecauseInnerIndirect.class:0:0:0:0 | VisibleBecauseInnerIndirect<String> |
|
||||
| JavaUser.java:30:5:30:115 | NotVisibleBecauseStatic<String> notVisibleBecauseStatic | KotlinUser.kt:31:9:31:31 | NotVisibleBecauseStatic<String> notVisibleBecauseStatic | extlib.jar/extlib/TypeParamVisibility$NotVisibleBecauseStatic.class:0:0:0:0 | NotVisibleBecauseStatic<String> |
|
||||
| JavaUser.java:31:5:31:180 | NotVisibleBecauseStaticIndirect<String> notVisibleBecauseStaticIndirect | KotlinUser.kt:32:9:32:39 | NotVisibleBecauseStaticIndirect<String> notVisibleBecauseStaticIndirect | extlib.jar/extlib/TypeParamVisibility$NotVisibleBecauseStaticIndirectContainer$NotVisibleBecauseStaticIndirect.class:0:0:0:0 | NotVisibleBecauseStaticIndirect<String> |
|
||||
| JavaUser.java:7:5:7:111 | InnerGeneric<String> a | KotlinUser.kt:9:5:9:63 | InnerGeneric<String> a | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:7:5:7:111 | InnerGeneric<String> a | KotlinUser.kt:10:5:10:65 | InnerGeneric<String> a2 | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:8:5:8:124 | InnerGeneric<String> a2 | KotlinUser.kt:9:5:9:63 | InnerGeneric<String> a | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:8:5:8:124 | InnerGeneric<String> a2 | KotlinUser.kt:10:5:10:65 | InnerGeneric<String> a2 | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:9:5:9:139 | InnerGeneric<String> a3 | KotlinUser.kt:9:5:9:63 | InnerGeneric<String> a | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:9:5:9:139 | InnerGeneric<String> a3 | KotlinUser.kt:10:5:10:65 | InnerGeneric<String> a2 | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:10:5:10:98 | InnerNotGeneric<> b | KotlinUser.kt:11:5:11:49 | InnerNotGeneric<> b | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:11:5:11:97 | InnerNotGeneric<> b2 | KotlinUser.kt:12:5:12:53 | InnerNotGeneric<> b2 | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:11:5:11:97 | InnerNotGeneric<> b2 | KotlinUser.kt:25:5:25:69 | InnerNotGeneric<> innerGetterTest | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:12:5:12:96 | InnerGeneric<String> c | KotlinUser.kt:13:5:13:52 | InnerGeneric<String> c | extlib.jar/extlib/OuterNotGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:12:5:12:96 | InnerGeneric<String> c | KotlinUser.kt:26:5:26:62 | InnerGeneric<String> innerGetterTest2 | extlib.jar/extlib/OuterNotGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:13:5:13:112 | InnerStaticGeneric<String> d | KotlinUser.kt:14:5:14:63 | InnerStaticGeneric<String> d | extlib.jar/extlib/OuterGeneric$InnerStaticGeneric.class:0:0:0:0 | InnerStaticGeneric<String> |
|
||||
| JavaUser.java:14:5:14:249 | InnerManyParams<Long,Short> e | KotlinUser.kt:15:5:15:100 | InnerManyParams<Long,Short> e | extlib.jar/extlib/OuterManyParams$MiddleManyParams$InnerManyParams.class:0:0:0:0 | InnerManyParams<Long,Short> |
|
||||
| JavaUser.java:24:5:24:109 | InnerNotGeneric<> innerGetterTest | KotlinUser.kt:12:5:12:53 | InnerNotGeneric<> b2 | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:24:5:24:109 | InnerNotGeneric<> innerGetterTest | KotlinUser.kt:25:5:25:69 | InnerNotGeneric<> innerGetterTest | extlib.jar/extlib/OuterGeneric$InnerNotGeneric.class:0:0:0:0 | InnerNotGeneric<> |
|
||||
| JavaUser.java:25:5:25:102 | InnerGeneric<String> innerGetterTest2 | KotlinUser.kt:13:5:13:52 | InnerGeneric<String> c | extlib.jar/extlib/OuterNotGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:25:5:25:102 | InnerGeneric<String> innerGetterTest2 | KotlinUser.kt:26:5:26:62 | InnerGeneric<String> innerGetterTest2 | extlib.jar/extlib/OuterNotGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> |
|
||||
| JavaUser.java:27:5:27:72 | TypeParamVisibility<String> tpv | KotlinUser.kt:28:5:28:43 | TypeParamVisibility<String> tpv | extlib.jar/extlib/TypeParamVisibility.class:0:0:0:0 | TypeParamVisibility<String> |
|
||||
| JavaUser.java:28:5:28:111 | VisibleBecauseInner<String> visibleBecauseInner | KotlinUser.kt:29:5:29:58 | VisibleBecauseInner<String> visibleBecauseInner | extlib.jar/extlib/TypeParamVisibility$VisibleBecauseInner.class:0:0:0:0 | VisibleBecauseInner<String> |
|
||||
| JavaUser.java:29:5:29:172 | VisibleBecauseInnerIndirect<String> visibleBecauseInnerIndirect | KotlinUser.kt:30:5:30:74 | VisibleBecauseInnerIndirect<String> visibleBecauseInnerIndirect | extlib.jar/extlib/TypeParamVisibility$VisibleBecauseInnerIndirectContainer$VisibleBecauseInnerIndirect.class:0:0:0:0 | VisibleBecauseInnerIndirect<String> |
|
||||
| JavaUser.java:30:5:30:115 | NotVisibleBecauseStatic<String> notVisibleBecauseStatic | KotlinUser.kt:31:5:31:66 | NotVisibleBecauseStatic<String> notVisibleBecauseStatic | extlib.jar/extlib/TypeParamVisibility$NotVisibleBecauseStatic.class:0:0:0:0 | NotVisibleBecauseStatic<String> |
|
||||
| JavaUser.java:31:5:31:180 | NotVisibleBecauseStaticIndirect<String> notVisibleBecauseStaticIndirect | KotlinUser.kt:32:5:32:82 | NotVisibleBecauseStaticIndirect<String> notVisibleBecauseStaticIndirect | extlib.jar/extlib/TypeParamVisibility$NotVisibleBecauseStaticIndirectContainer$NotVisibleBecauseStaticIndirect.class:0:0:0:0 | NotVisibleBecauseStaticIndirect<String> |
|
||||
#select
|
||||
| JavaUser.java:7:52:7:110 | new InnerGeneric<String>(...) | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> | extlib.jar/extlib/OuterGeneric$InnerGeneric.class:0:0:0:0 | InnerGeneric<String> | JavaUser.java:7:99:7:104 | String |
|
||||
| JavaUser.java:7:53:7:79 | new OuterGeneric<Integer>(...) | extlib.jar/extlib/OuterGeneric.class:0:0:0:0 | OuterGeneric<Integer> | extlib.jar/extlib/OuterGeneric.class:0:0:0:0 | OuterGeneric<Integer> | JavaUser.java:7:70:7:76 | Integer |
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
| ktUser.kt:0:0:0:0 | nullableAnnotated | parameter | ktUser.kt:0:0:0:0 | Nullable |
|
||||
| ktUser.kt:0:0:0:0 | nullableAnnotated | return value | ktUser.kt:0:0:0:0 | A |
|
||||
| ktUser.kt:0:0:0:0 | nullableAnnotated | return value | ktUser.kt:0:0:0:0 | Nullable |
|
||||
| ktUser.kt:5:6:5:105 | f | parameter | ktUser.kt:0:0:0:0 | NotNull |
|
||||
| ktUser.kt:5:6:5:105 | f | parameter | ktUser.kt:5:12:5:13 | A |
|
||||
| ktUser.kt:5:6:5:105 | f | return value | ktUser.kt:0:0:0:0 | NotNull |
|
||||
| ktUser.kt:5:6:5:105 | f | return value | ktUser.kt:5:3:5:4 | A |
|
||||
| ktUser.kt:5:3:5:105 | f | parameter | ktUser.kt:0:0:0:0 | NotNull |
|
||||
| ktUser.kt:5:3:5:105 | f | parameter | ktUser.kt:5:12:5:13 | A |
|
||||
| ktUser.kt:5:3:5:105 | f | return value | ktUser.kt:0:0:0:0 | NotNull |
|
||||
| ktUser.kt:5:3:5:105 | f | return value | ktUser.kt:5:3:5:4 | A |
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
| hasprops.kt:3:3:3:25 | getAccessorsPublic |
|
||||
| hasprops.kt:3:3:3:25 | setAccessorsPublic |
|
||||
| hasprops.kt:5:3:6:15 | getSetterPrivate |
|
||||
| hasprops.kt:6:13:6:15 | setSetterPrivate$private |
|
||||
| hasprops.kt:6:5:6:15 | setSetterPrivate$private |
|
||||
| usesprops.kt:1:1:9:1 | user |
|
||||
| usesprops.kt:3:3:3:58 | useGetters |
|
||||
| usesprops.kt:5:3:7:3 | useSetter |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| User.java:5:5:5:34 | getKotlinVal(...) | getKotlinVal | String |
|
||||
| test.kt:8:43:8:78 | with(...) | with | Function1<? super T,? extends R> |
|
||||
| test.kt:8:43:8:78 | with(...) | with | T |
|
||||
| test.kt:8:55:8:76 | getKotlinVal(...) | getKotlinVal | String |
|
||||
| test.kt:8:54:8:76 | getKotlinVal(...) | getKotlinVal | String |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| User.java:3:21:3:24 | test |
|
||||
| test1.kt:3:12:3:22 | f$main |
|
||||
| test2.kt:3:12:3:22 | f$mymodule |
|
||||
| test3.kt:3:12:3:22 | f$reservedchars___ |
|
||||
| test1.kt:3:3:3:22 | f$main |
|
||||
| test2.kt:3:3:3:22 | f$mymodule |
|
||||
| test3.kt:3:3:3:22 | f$reservedchars___ |
|
||||
|
||||
Reference in New Issue
Block a user