summaryrefslogtreecommitdiff
path: root/platform/core-api/src/com/intellij/openapi/application/ModalityInvokator.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/core-api/src/com/intellij/openapi/application/ModalityInvokator.java')
-rw-r--r--platform/core-api/src/com/intellij/openapi/application/ModalityInvokator.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/platform/core-api/src/com/intellij/openapi/application/ModalityInvokator.java b/platform/core-api/src/com/intellij/openapi/application/ModalityInvokator.java
index 4dda4a664174..4a72e09dcd8e 100644
--- a/platform/core-api/src/com/intellij/openapi/application/ModalityInvokator.java
+++ b/platform/core-api/src/com/intellij/openapi/application/ModalityInvokator.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,9 +31,11 @@ public interface ModalityInvokator {
*
* @param runnable the runnable to execute.
*/
- ActionCallback invokeLater(Runnable runnable);
+ @NotNull
+ ActionCallback invokeLater(@NotNull Runnable runnable);
- ActionCallback invokeLater(Runnable runnable, @NotNull Condition expired);
+ @NotNull
+ ActionCallback invokeLater(@NotNull Runnable runnable, @NotNull Condition expired);
/**
* Causes <i>runnable.run()</i> to be executed asynchronously on the
@@ -43,7 +45,9 @@ public interface ModalityInvokator {
* @param runnable the runnable to execute.
* @param state the state in which the runnable will be executed.
*/
- ActionCallback invokeLater(Runnable runnable, @NotNull ModalityState state);
+ @NotNull
+ ActionCallback invokeLater(@NotNull Runnable runnable, @NotNull ModalityState state);
- ActionCallback invokeLater(Runnable runnable, @NotNull ModalityState state, @NotNull Condition expired);
+ @NotNull
+ ActionCallback invokeLater(@NotNull Runnable runnable, @NotNull ModalityState state, @NotNull Condition expired);
} \ No newline at end of file