mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Kotlin: Add Variable.getKotlinType()
This commit is contained in:
@@ -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) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user