Skip to content

Commit ca0aab2

Browse files
committed
Add TYPE_USE target to @Language annotation
Fixes JetBrains#43
1 parent 30daf99 commit ca0aab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/intellij/lang/annotations/Language.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* Meta-annotation works only one level deep.
4343
*/
4444
@Retention(RetentionPolicy.CLASS)
45-
@Target({ METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, ANNOTATION_TYPE })
45+
@Target({ METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, TYPE_USE, ANNOTATION_TYPE })
4646
public @interface Language {
4747
/**
4848
* Language name like "JAVA", "HTML", "XML", "RegExp", etc.

0 commit comments

Comments
 (0)