diff --git a/java/ql/lib/semmle/code/java/Variable.qll b/java/ql/lib/semmle/code/java/Variable.qll index 549ee734024..fa41b0982c1 100755 --- a/java/ql/lib/semmle/code/java/Variable.qll +++ b/java/ql/lib/semmle/code/java/Variable.qll @@ -9,6 +9,9 @@ class Variable extends @variable, Annotatable, Element, Modifiable { /** Gets the type of this variable. */ /*abstract*/ Type getType() { none() } + /** Gets the Kotlin type of this variable. */ + /*abstract*/ KotlinType getKotlinType() { none() } + /** Gets an access to this variable. */ VarAccess getAnAccess() { variableBinding(result, this) }