diff options
author | 2014-07-30 17:17:15 +0000 | |
---|---|---|
committer | 2014-07-30 17:17:15 +0000 | |
commit | 59bc9ab003aed65ccf39f863160eb1c7aeab22d5 (patch) | |
tree | cba578b4da4419265d62cdd8449514511a0f4de1 /java/src/com/android/inputmethod/event/Combiner.java | |
parent | e074053e36351869fed1048c110629f7451e91b8 (diff) | |
parent | 818d3ee923ccdeab9c5091b781ea1bab1987bf69 (diff) | |
download | latinime-59bc9ab003aed65ccf39f863160eb1c7aeab22d5.tar.gz latinime-59bc9ab003aed65ccf39f863160eb1c7aeab22d5.tar.xz latinime-59bc9ab003aed65ccf39f863160eb1c7aeab22d5.zip |
am 818d3ee9: am ec8472b5: am 7f545a57: [HW7.5] Introduce the @Nonnull annotation (take 2)
* commit '818d3ee923ccdeab9c5091b781ea1bab1987bf69':
[HW7.5] Introduce the @Nonnull annotation (take 2)
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); /** |