mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Merge pull request #11293 from smowton/smowton/admin/exclude-kotlin-metadata-annotation
Java: Remove no-longer-needed expected diagnostics
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
|
||||
annotation class SomeAnnotation
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
|
||||
@@ -17,10 +17,8 @@ annotation class Ann(
|
||||
val p: Int,
|
||||
@get:JvmName("w") val q: Int)
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.jvm.JvmName(name="changeY")
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.jvm.JvmName(name="getX_prop")
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.jvm.JvmName(name="method")
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.jvm.JvmName(name="y")
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
// Diagnostic Matches: Unknown location for kotlin.jvm.JvmName
|
||||
|
||||
@@ -111,7 +111,5 @@ public class TakesArrayList {
|
||||
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
// Diagnostic Matches: Completion failure for type: org.jetbrains.annotations.NotNull
|
||||
// Diagnostic Matches: Unknown location for org.jetbrains.annotations.NotNull
|
||||
|
||||
@@ -32,6 +32,4 @@ fun foo() {
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Completion failure for type: org.jetbrains.annotations.NotNull
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
// Diagnostic Matches: Unknown location for org.jetbrains.annotations.NotNull
|
||||
|
||||
@@ -10,5 +10,3 @@ class B<T> {
|
||||
}
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
|
||||
@@ -4,5 +4,3 @@ public class Test() {
|
||||
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
|
||||
@@ -11,5 +11,3 @@ public class Test {
|
||||
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
|
||||
@@ -16,7 +16,5 @@ class Dkotlin : Base() {
|
||||
|
||||
// Diagnostic Matches: Completion failure for type: org.jetbrains.annotations.NotNull
|
||||
// Diagnostic Matches: Completion failure for type: org.jetbrains.annotations.Nullable
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
// Diagnostic Matches: Unknown location for org.jetbrains.annotations.NotNull
|
||||
// Diagnostic Matches: Unknown location for org.jetbrains.annotations.Nullable
|
||||
|
||||
@@ -3,5 +3,3 @@ public class Kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
|
||||
@@ -86,8 +86,6 @@ public class TestDefaultParameterReference {
|
||||
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
// Diagnostic Matches: Completion failure for type: org.jetbrains.annotations.NotNull
|
||||
// Diagnostic Matches: Unknown location for org.jetbrains.annotations.NotNull
|
||||
// Diagnostic Matches: Completion failure for type: kotlin.jvm.JvmOverloads
|
||||
|
||||
@@ -5,8 +5,6 @@ public class A {
|
||||
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
// Diagnostic Matches: Completion failure for type: kotlin.jvm.JvmOverloads
|
||||
// Diagnostic Matches: Completion failure for type: org.jetbrains.annotations.Nullable
|
||||
// Diagnostic Matches: Unknown location for kotlin.jvm.JvmOverloads
|
||||
|
||||
@@ -141,13 +141,11 @@ test.kt:
|
||||
# 65| 0: [MethodAccess] getPropWithStaticGetter(...)
|
||||
# 65| -1: [TypeAccess] NonCompanion
|
||||
# 9| 2: [Class] HasCompanion
|
||||
#-----| -3: (Annotations)
|
||||
# 9| 2: [Constructor] HasCompanion
|
||||
# 9| 5: [BlockStmt] { ... }
|
||||
# 9| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 9| 1: [BlockStmt] { ... }
|
||||
# 11| 3: [Class] Companion
|
||||
#-----| -3: (Annotations)
|
||||
# 11| 1: [Constructor] Companion
|
||||
# 11| 5: [BlockStmt] { ... }
|
||||
# 11| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
@@ -318,7 +316,6 @@ test.kt:
|
||||
# 25| -1: [TypeAccess] HasCompanion
|
||||
# 25| 0: [VarAccess] s
|
||||
# 31| 3: [Class] NonCompanion
|
||||
#-----| -3: (Annotations)
|
||||
# 31| 2: [Constructor] NonCompanion
|
||||
# 31| 5: [BlockStmt] { ... }
|
||||
# 31| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
|
||||
@@ -66,8 +66,6 @@ fun externalUser() {
|
||||
|
||||
}
|
||||
|
||||
// Diagnostic Matches: Incomplete annotation: @kotlin.Metadata(%)
|
||||
// Diagnostic Matches: Unknown location for kotlin.Metadata
|
||||
// Diagnostic Matches: Completion failure for type: kotlin.jvm.JvmStatic
|
||||
// Diagnostic Matches: Completion failure for type: org.jetbrains.annotations.NotNull
|
||||
// Diagnostic Matches: Unknown location for kotlin.jvm.JvmStatic
|
||||
|
||||
Reference in New Issue
Block a user