Fix JetKeywordToken docstrings

They were flipped.
This commit is contained in:
Steven Allen
2014-02-23 01:37:46 -05:00
parent be4a8764ff
commit 9f901d87fe
@@ -22,14 +22,14 @@ import org.jetbrains.annotations.NotNull;
public class JetKeywordToken extends JetToken { public class JetKeywordToken extends JetToken {
/** /**
* Generate soft keyword (identifier that has a keyword meaning only in some contexts) * Generate keyword (identifier that has a keyword meaning in all possible contexts)
*/ */
public static JetKeywordToken keyword(String value) { public static JetKeywordToken keyword(String value) {
return new JetKeywordToken(value, false); return new JetKeywordToken(value, false);
} }
/** /**
* Generate keyword (identifier that has a keyword meaning in all possible contexts) * Generate soft keyword (identifier that has a keyword meaning only in some contexts)
*/ */
public static JetKeywordToken softKeyword(String value) { public static JetKeywordToken softKeyword(String value) {
return new JetKeywordToken(value, true); return new JetKeywordToken(value, true);