diff options
author | 2014-07-30 13:01:39 +0900 | |
---|---|---|
committer | 2014-07-30 04:13:58 +0000 | |
commit | 7f545a57c987862d55966ac08ef64cfe0b9f51e4 (patch) | |
tree | 6e8be92fbb47a307f14d4d3dde211bf4e316fdbf /java/src/com/android/inputmethod/event/Combiner.java | |
parent | 0f6807bfb44ca82e224921af1f16f18cdaa8b4e1 (diff) | |
download | latinime-7f545a57c987862d55966ac08ef64cfe0b9f51e4.tar.gz latinime-7f545a57c987862d55966ac08ef64cfe0b9f51e4.tar.xz latinime-7f545a57c987862d55966ac08ef64cfe0b9f51e4.zip |
[HW7.5] Introduce the @Nonnull annotation (take 2)
Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e
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); /** |