File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
common/src/main/java/org/intellij/lang/annotations Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1616
1717package org .intellij .lang .annotations ;
1818
19+ import org .jetbrains .annotations .NonNls ;
20+
1921import java .lang .annotation .Retention ;
2022import java .lang .annotation .RetentionPolicy ;
2123import java .lang .annotation .Target ;
4951 * <li>"RegExp" - Regular expression supported by Java {@link java.util.regex.Pattern}</li>
5052 * </ul>
5153 */
52- String value ();
54+ @ NonNls String value ();
5355
5456 /**
5557 * A constant prefix that is assumed to be implicitly added before the literal.
5658 * This helps to apply proper highlighting when the program element represents only a part of the valid program.
5759 * E.g. if the method parameter accepts a Java method, it could be annotated as
5860 * {@code void methodProcessor(@Language(value="JAVA", prefix="class X {", suffix="}")}.
5961 */
60- String prefix () default "" ;
62+ @ NonNls String prefix () default "" ;
6163
6264 /**
6365 * A constant suffix that is assumed to be implicitly added after the literal. See {@link #prefix()} for details.
6466 */
65- String suffix () default "" ;
67+ @ NonNls String suffix () default "" ;
6668}
You can’t perform that action at this time.
0 commit comments