@Test(expected = NullPointerException.class) public void testGetKeyListener_withNull_throwsException() { mEmojiEditTextHelper.getKeyListener(null); }
@NonNull public KeyListener getKeyListener(@NonNull final KeyListener keyListener) { Preconditions.checkNotNull(keyListener, "keyListener cannot be null"); return mHelper.getKeyListener(keyListener); }
EmojiEditTextHelper { @NonNull public KeyListener getKeyListener(@NonNull final KeyListener keyListener) { Preconditions.checkNotNull(keyListener, "keyListener cannot be null"); return mHelper.getKeyListener(keyListener); } }
EmojiEditTextHelper { @NonNull public KeyListener getKeyListener(@NonNull final KeyListener keyListener) { Preconditions.checkNotNull(keyListener, "keyListener cannot be null"); return mHelper.getKeyListener(keyListener); } EmojiEditTextHelper(@NonNull final EditText editText); }
EmojiEditTextHelper { @NonNull public KeyListener getKeyListener(@NonNull final KeyListener keyListener) { Preconditions.checkNotNull(keyListener, "keyListener cannot be null"); return mHelper.getKeyListener(keyListener); } EmojiEditTextHelper(@NonNull final EditText editText); void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount); int getMaxEmojiCount(); @NonNull KeyListener getKeyListener(@NonNull final KeyListener keyListener); @Nullable InputConnection onCreateInputConnection(@Nullable final InputConnection inputConnection,
            @NonNull final EditorInfo outAttrs); }
EmojiEditTextHelper { @NonNull public KeyListener getKeyListener(@NonNull final KeyListener keyListener) { Preconditions.checkNotNull(keyListener, "keyListener cannot be null"); return mHelper.getKeyListener(keyListener); } EmojiEditTextHelper(@NonNull final EditText editText); void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount); int getMaxEmojiCount(); @NonNull KeyListener getKeyListener(@NonNull final KeyListener keyListener); @Nullable InputConnection onCreateInputConnection(@Nullable final InputConnection inputConnection,
            @NonNull final EditorInfo outAttrs);  }