Kotlin: Add a test for annotation classes

This commit is contained in:
Ian Lynagh
2022-03-18 13:52:33 +00:00
parent 34f8d9b9b7
commit dbc5e73709
4 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
| def.kt:2:1:2:31 | SomeAnnotation | Interface |
| use.java:2:23:2:25 | use | Class |

View File

@@ -0,0 +1,5 @@
import java
from ClassOrInterface x
where x.fromSource()
select x, x.getPrimaryQlClasses()

View File

@@ -0,0 +1,3 @@
annotation class SomeAnnotation

View File

@@ -0,0 +1,3 @@
public abstract class use implements SomeAnnotation {}