| Conditions | 3 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | /* |
||
| 27 | @Override |
||
| 28 | public String notify(String name, HandlerInterface handler) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { |
||
| 29 | if (listeners.containsKey(name) && events.containsKey(name)) { |
||
| 30 | AbstractListener listener = listeners.get(name); |
||
| 31 | String methodName = events.get(name); |
||
| 32 | Method method = listener.getClass().getMethod(methodName, HandlerInterface.class); |
||
| 33 | return (String) method.invoke(listener, handler); |
||
| 34 | } |
||
| 35 | |||
| 36 | return null; |
||
| 37 | } |
||
| 39 |