Searched refs:parameterTypes (Results 1 – 4 of 4) sorted by relevance
206 java.lang.Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructor() local207 if (parameterTypes.length == 0 || in hasValidConstructor()208 (parameterTypes.length == 1 && parameterTypes[0] == String.class)) { in hasValidConstructor()
591 Class<?>[] parameterTypes = m.getParameterTypes(); in registerSubscriber() local592 if (isValidEventBusHandlerMethod(m, parameterTypes)) { in registerSubscriber()593 Class<? extends Event> eventType = (Class<? extends Event>) parameterTypes[0]; in registerSubscriber()607 " event: " + parameterTypes[0].getSimpleName()); in registerSubscriber()720 private boolean isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes) { in isValidEventBusHandlerMethod() argument725 parameterTypes.length == 1) { in isValidEventBusHandlerMethod()726 if (EventBus.Event.class.isAssignableFrom(parameterTypes[0]) && in isValidEventBusHandlerMethod()731 if (!EventBus.Event.class.isAssignableFrom(parameterTypes[0])) { in isValidEventBusHandlerMethod()
223 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() argument225 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod()
410 private static Method findMethod(Object instance, String name, Class<?>... parameterTypes) in findMethod() argument414 Method method = clazz.getDeclaredMethod(name, parameterTypes); in findMethod()428 Arrays.asList(parameterTypes) + " not found in " + instance.getClass()); in findMethod()