mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Add test for companion object
This commit is contained in:
committed by
Ian Lynagh
parent
30ff5e2517
commit
70841a5896
@@ -0,0 +1,2 @@
|
||||
| companion_objects.kt:9:5:9:11 | MyClassCompanion | VarAccess | companion_objects.kt:4:9:4:31 | funInCompanion |
|
||||
| companion_objects.kt:10:5:10:13 | new MyClass(...) | ClassInstanceExpr | companion_objects.kt:2:5:2:23 | funInClass |
|
||||
@@ -0,0 +1,4 @@
|
||||
import java
|
||||
|
||||
from MethodAccess ma
|
||||
select ma.getQualifier(), ma.getQualifier().getAPrimaryQlClass(), ma.getCallee()
|
||||
Reference in New Issue
Block a user