JetBrains / java-annotations

Annotations for JVM-based languages.
Apache License 2.0
404 stars 47 forks source link

Allow `@Language("regexp") CharSequence regex` #16

Closed xkr47 closed 5 years ago

xkr47 commented 5 years ago

Where should report (if not here) that IntelliJ IDEA reports an error when using

@Language("regexp") CharSequence regex

while there are libraries (like AssertJ) that allow specifying regexps as CharSequences for convenience? My request is thus to allow @Language annotations for CharSequence type variables in addition to String.

xkr47 commented 5 years ago

I have now filed it here: https://youtrack.jetbrains.net/issue/IDEA-221169

amaembo commented 5 years ago

Yes, IDEA issues should be filed in YouTrack. Thanks.