org.jetbrains.annotations.Nullable



API Populatity

13 Client projects

Project: org.jetbrains

Project JetBrains/ideavim in file ...yhome.idea.vim.action.motion.TextObjectAction.java (2012-12-24)
@@ -25,6 +25,7 @@ import com.intellij.openapi.editor.actionSystem.EditorAction;
 import com.maddyhome.idea.vim.command.Argument;
 import com.maddyhome.idea.vim.common.TextRange;
 import com.maddyhome.idea.vim.handler.motion.TextObjectActionHandler;
+import org.jetbrains.annotations.Nullable;
 
 /**
  */
@@ -34,6 +35,7 @@ public abstract class TextObjectAction extends EditorAction {
     this.handler = handler;
   }
 
+  @Nullable
   public TextRange getRange(Editor editor, DataContext context, int count, int rawCount, Argument argument) {
     return handler.getRange(editor, context, count, rawCount, argument);
   }
Project JetBrains/ideavim in file ...rc.com.maddyhome.idea.vim.ui.ClipboardHandler.java (2012-12-24)
@@ -19,6 +19,8 @@ package com.maddyhome.idea.vim.ui;
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
+import org.jetbrains.annotations.Nullable;
+
 import java.awt.*;
 import java.awt.datatransfer.*;
 import java.io.IOException;
@@ -32,6 +34,7 @@ public class ClipboardHandler {
    *
    * @return The clipboard string or null if data isn't plain text
    */
+  @Nullable
   public static String getClipboardText() {
     String res = null;
     try {
Project JetBrains/intellij-community in file ...api.src.com.intellij.psi.PsiModifierListOwner.java (2006-08-22)
@@ -16,6 +16,7 @@
 package com.intellij.psi;
 
 import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
 
 /**
  * Represents a PSI element which has a list of modifiers (public/private/protected/etc.)
@@ -28,6 +29,7 @@ public interface PsiModifierListOwner extends PsiElement {
    * @return the list of modifiers, or null if the element (for example, an anonymous
    * inner class) does not have the list of modifiers.
    */
+  @Nullable
   PsiModifierList getModifierList();
 
   /**