Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba56517

Browse files
committed
Kotlin: Add Variable.getKotlinType()
1 parent ef22194 commit ba56517

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

java/ql/lib/semmle/code/java/Variable.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ class Variable extends @variable, Annotatable, Element, Modifiable {
99
/** Gets the type of this variable. */
1010
/*abstract*/ Type getType() { none() }
1111

12+
/** Gets the Kotlin type of this variable. */
13+
/*abstract*/ KotlinType getKotlinType() { none() }
14+
1215
/** Gets an access to this variable. */
1316
VarAccess getAnAccess() { variableBinding(result, this) }
1417

0 commit comments

Comments
 (0)