diff options
author | 2014-07-29 09:31:58 +0000 | |
---|---|---|
committer | 2014-07-24 16:04:26 +0000 | |
commit | 3c7cb5234fa33f67a4029d6e858ccccf5c7feeb3 (patch) | |
tree | 4be23db6811899d7fc826cb6f908f153e15c248d /java/src/com/android/inputmethod/event/Combiner.java | |
parent | 3042452170e9d8bd2d80abd7514b40b1974741f7 (diff) | |
parent | 60a2cd8ac439bf41bfddc5f5f339feda7c7ff175 (diff) | |
download | latinime-3c7cb5234fa33f67a4029d6e858ccccf5c7feeb3.tar.gz latinime-3c7cb5234fa33f67a4029d6e858ccccf5c7feeb3.tar.xz latinime-3c7cb5234fa33f67a4029d6e858ccccf5c7feeb3.zip |
Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev
Diffstat (limited to 'java/src/com/android/inputmethod/event/Combiner.java')
-rw-r--r-- | java/src/com/android/inputmethod/event/Combiner.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/event/Combiner.java b/java/src/com/android/inputmethod/event/Combiner.java index 8b808c6b3..fee93f0c6 100644 --- a/java/src/com/android/inputmethod/event/Combiner.java +++ b/java/src/com/android/inputmethod/event/Combiner.java @@ -18,6 +18,8 @@ package com.android.inputmethod.event; import java.util.ArrayList; +import javax.annotation.Nonnull; + /** * A generic interface for combiners. Combiners are objects that transform chains of input events * into committable strings and manage feedback to show to the user on the combining state. @@ -33,6 +35,7 @@ public interface Combiner { * @param event the event to combine with the existing state. * @return the resulting event. */ + @Nonnull Event processEvent(ArrayList<Event> previousEvents, Event event); /** |