Merge pull request #385 from Stebalien/fix-jetkeywordtoken-docstrings

Fix JetKeywordToken docstrings
This commit is contained in:
Andrey Breslav
2014-02-24 17:47:59 +03:00
@@ -22,14 +22,14 @@ import org.jetbrains.annotations.NotNull;
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) {
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) {
return new JetKeywordToken(value, true);