Skip to content

Commit 737e045

Browse files
committed
MagicConstant: remove requirement for valuesFromClass/flagsFromClass to be public
1 parent 88454a9 commit 737e045

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
long[] flags() default {};
116116

117117
/**
118-
* @return allowed values which are defined in the specified class public static final constants.
118+
* @return allowed values which are defined in the specified class static final constants.
119119
*
120120
* E.g.
121121
* <pre>
@@ -129,7 +129,7 @@
129129
Class<?> valuesFromClass() default void.class;
130130

131131
/**
132-
* @return allowed int flags which are defined in the specified class public static final constants.
132+
* @return allowed int flags which are defined in the specified class static final constants.
133133
* The difference from the {@link #valuesFromClass()} is that flags are allowed to be combined (via plus:+ or bitwise OR: |) whereas values aren't.
134134
* The literals "0" and "-1" are also allowed to denote absence and presense of all flags respectively.
135135
*

0 commit comments

Comments
 (0)