Skip to content

Commit

Permalink
Add TYPE_USE target to @Language annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
BartvHelvert committed Aug 14, 2022
1 parent 30daf99 commit ca0aab2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* Meta-annotation works only one level deep.
*/
@Retention(RetentionPolicy.CLASS)
@Target({ METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, ANNOTATION_TYPE })
@Target({ METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, TYPE_USE, ANNOTATION_TYPE })
public @interface Language {
/**
* Language name like "JAVA", "HTML", "XML", "RegExp", etc.
Expand Down

0 comments on commit ca0aab2

Please sign in to comment.