org.jetbrains.annotations.NotNull



API Populatity

21 Client projects

Project: org.jetbrains

Project JetBrains/ideavim in file ...com.maddyhome.idea.vim.helper.CharacterHelper.java (2012-12-24)
@@ -19,6 +19,8 @@ package com.maddyhome.idea.vim.helper;
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
+import org.jetbrains.annotations.NotNull;
+
 /**
  * This helper class is used when working with various character level operations
  */
@@ -48,6 +50,7 @@ public class CharacterHelper {
    * @param punctuationAsLetters True if punctuation is to be ignored, false if not
    * @return The type of the character
    */
+  @NotNull
   public static CharacterType charType(char ch, boolean punctuationAsLetters) {
     final Character.UnicodeBlock block = Character.UnicodeBlock.of(ch);
     if (Character.isWhitespace(ch)) {
Project JetBrains/ideavim in file ...6531f/src.com.maddyhome.idea.vim.key.RootNode.java (2012-12-24)
@@ -19,10 +19,13 @@ package com.maddyhome.idea.vim.key;
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
+import org.jetbrains.annotations.NotNull;
+
 /**
  * Represents the root of the key/action tree
  */
 public class RootNode extends ParentNode {
+  @NotNull
   public String toString() {
     StringBuffer res = new StringBuffer();
     res.append("RootNode[");
Project JetBrains/ideavim in file ...src.com.maddyhome.idea.vim.option.FlagsOption.java (2012-12-24)
@@ -19,6 +19,8 @@ package com.maddyhome.idea.vim.option;
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
+import org.jetbrains.annotations.NotNull;
+
 /**
  * This represents a set of one character flags
  */
@@ -40,6 +42,7 @@ public class FlagsOption extends BoundListOption {
    *
    * @return The list of flags
    */
+  @NotNull
   public String getValue() {
     StringBuffer res = new StringBuffer();
     for (String s : value) {