mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Java: Add up/downgrade scripts
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
class TypeVariable extends @typevariable {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
class ClassOrInterfaceOrCallable extends @classorinterfaceorcallable {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from TypeVariable id, string nodeName, int pos, ClassOrInterfaceOrCallable parentid
|
||||
where typeVars(id, nodeName, pos, parentid)
|
||||
select id, nodeName, pos, 0, parentid
|
||||
@@ -0,0 +1,3 @@
|
||||
description: Remove deprecated entries
|
||||
compatibility: partial
|
||||
typeVars.rel: run typeVars.qlo
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
class TypeVariable extends @typevariable {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
class ClassOrInterfaceOrCallable extends @classorinterfaceorcallable {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from TypeVariable id, string nodeName, int pos, ClassOrInterfaceOrCallable parentid
|
||||
where typeVars(id, nodeName, pos, _, parentid)
|
||||
select id, nodeName, pos, parentid
|
||||
@@ -0,0 +1,7 @@
|
||||
description: Remove deprecated entries
|
||||
compatibility: full
|
||||
duplicateCode.rel: delete
|
||||
similarCode.rel: delete
|
||||
tokens.rel: delete
|
||||
snapshotDate.rel: delete
|
||||
typeVars.rel: run typeVars.qlo
|
||||
Reference in New Issue
Block a user