Searched refs:parameterTypes (Results 1 – 12 of 12) sorted by relevance
72 ModelClass[] parameterTypes = getParameterTypes(); in acceptsArguments() local73 if ((!isVarArgs && args.size() != parameterTypes.length) || in acceptsArguments()74 (isVarArgs && args.size() < parameterTypes.length - 1)) { in acceptsArguments()79 ModelClass parameterType = getParameter(i, parameterTypes); in acceptsArguments()93 final ModelClass[] parameterTypes = getParameterTypes(); in isBetterArgMatchThan() local97 final ModelClass thisParameter = getParameter(i, parameterTypes); in isBetterArgMatchThan()114 private ModelClass getParameter(int index, ModelClass[] parameterTypes) { in getParameter() argument115 int normalParamCount = isVarArgs() ? parameterTypes.length - 1 : parameterTypes.length; in getParameter()117 return parameterTypes[index]; in getParameter()119 return parameterTypes[parameterTypes.length - 1].getComponentType(); in getParameter()
514 ModelClass[] parameterTypes = method.getParameterTypes(); in findSetter() local515 if (parameterTypes != null && parameterTypes.length == 1 && in findSetter()516 parameterTypes[0].equals(param) && in findSetter()
42 Class[] parameterTypes = mMethod.getParameterTypes(); in getParameterTypes() local43 ModelClass[] parameterClasses = new ModelClass[parameterTypes.length]; in getParameterTypes()44 for (int i = 0; i < parameterTypes.length; i++) { in getParameterTypes()45 parameterClasses[i] = new JavaClass(parameterTypes[i]); in getParameterTypes()
138 final ModelClass[] parameterTypes = method.getParameterTypes(); in setup() local140 if (parameterTypes.length == args.size()) { in setup()141 for (int i = 0; i < parameterTypes.length; i++) { in setup()142 args.get(i).setClassFromCallback(parameterTypes[i]); in setup()
25 …method.parameterTypes.withIndex().map { "${it.value.toJavaCode()} ${CallbackWrapper.ARG_PREFIX}${i… in argsWithTypes()28 …method.parameterTypes.withIndex().map { "${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString(… in args()
232 java.lang.Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructor() local233 if (parameterTypes.length == 0 || in hasValidConstructor()234 (parameterTypes.length == 1 && parameterTypes[0] == String.class)) { in hasValidConstructor()
765 Class<?>[] parameterTypes = m.getParameterTypes(); in registerSubscriber() local767 if (isValidEventBusHandlerMethod(m, parameterTypes, isInterprocessEvent)) { in registerSubscriber()768 Class<? extends Event> eventType = (Class<? extends Event>) parameterTypes[0]; in registerSubscriber()796 " event: " + parameterTypes[0].getSimpleName() + in registerSubscriber()943 private boolean isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes, in isValidEventBusHandlerMethod() argument949 parameterTypes.length == 1) { in isValidEventBusHandlerMethod()950 if (EventBus.InterprocessEvent.class.isAssignableFrom(parameterTypes[0]) && in isValidEventBusHandlerMethod()954 } else if (EventBus.Event.class.isAssignableFrom(parameterTypes[0]) && in isValidEventBusHandlerMethod()960 if (!EventBus.Event.class.isAssignableFrom(parameterTypes[0])) { in isValidEventBusHandlerMethod()
99 ModelClass[] parameterTypes = new ModelClass[parameters.size()]; in getParameterTypes() local101 parameterTypes[i] = new AnnotationClass(parameters.get(i)); in getParameterTypes()103 return parameterTypes; in getParameterTypes()
96 .findClass(o1.mKey.parameterTypes[index1], null);98 .findClass(o2.mKey.parameterTypes[index2], null);612 final String parameterTypeStr = adapter.parameterTypes[index]; in createMultiAttributeSetter()818 ModelClass[] parameterTypes = method.getParameterTypes(); in getBestSetter() local819 ModelClass param = parameterTypes[0]; in getBestSetter()1063 public final String[] parameterTypes; field in SetterStore.MultiValueAdapterKey1078 this.parameterTypes = new String[parameters.size() - argStart]; in MultiValueAdapterKey()1082 this.parameterTypes[i] = getQualifiedName(typeMirror); in MultiValueAdapterKey()1101 final String thisParameter = parameterTypes[i]; in equals()1102 final String thatParameter = that.parameterTypes[thatIndex]; in equals()[all …]
175 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() argument177 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod()
272 private static Method findMethod(Object instance, String name, Class<?>... parameterTypes) in findMethod() argument276 Method method = clazz.getDeclaredMethod(name, parameterTypes); in findMethod()290 Arrays.asList(parameterTypes) + " not found in " + instance.getClass()); in findMethod()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...