Lines Matching defs:listener
32 /** Default listener for all method not listed in sMethods. Nothing if null. */
36 * Sets the default listener for all methods not specifically handled.
39 public static void setDefaultListener(MethodListener listener) {
40 sDefaultListener = listener;
44 * Defines or reset a listener for the given method signature.
49 * @param listener The new listener. Removes it if null.
51 public static void setMethodListener(String signature, MethodListener listener) {
52 if (listener == null) {
55 sMethods.put(signature, listener);
60 * Invokes the specific listener for the given signature or the default one if defined.
62 * This version invokes the method listener for the void return type.
83 * Invokes the specific listener for the int return type.
97 * Invokes the specific listener for the long return type.
111 * Invokes the specific listener for the float return type.
125 * Invokes the specific listener for the double return type.
139 * Invokes the specific listener for the object return type.