private void registerInternal ( final Object receiver , final Method method , final Class < ? extends T > eventClass ) { List < ReceiverDescriptor > receivers = this . receiverMap . get ( eventClass ) ; if ( receivers == null ) { receivers = new LinkedList < ReceiverDescriptor > ( ) ; this . receiverMap . put ( eventClass , receivers ) ; } final ReceiverDescriptor rd = new ReceiverDescriptor ( ) ; rd . receiverReference = new SoftReference < Object > ( receiver ) ; rd . method = method ; receivers . add ( rd ) ; }
Registers a receiver to an internal map .