question: public void addCaretListener ( final ICaretListener listener ) { Preconditions . checkNotNull ( listener , "Error: Listener can't be null" ) ; if ( ! m_listeners . contains ( listener ) ) { m_listeners . add ( listener ) ; } }
target:  Adds a new status change listener to the list of listeners.