Searched refs:hasMethod (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
H A DClassTest.java190 assertTrue("Interface method must be there", hasMethod(methods, ".foo("));
193 assertTrue("Interface method must be there", hasMethod(methods, ".foo("));
194 assertTrue("Interface method must be there", hasMethod(methods, ".bar("));
197 assertTrue("Interface method must be there", hasMethod(methods, ".foo("));
198 assertTrue("Interface method must be there", hasMethod(methods, ".bar("));
200 assertTrue("Declared method must be there", hasMethod(methods, ".gabba("));
201 assertTrue("Declared method must be there", hasMethod(methods, ".hey("));
203 assertTrue("Inherited method must be there", hasMethod(methods, ".toString("));
206 private boolean hasMethod(Method[] methods, String signature) { method in class:ClassTest
/frameworks/base/awt/java/beans/
H A DPropertyDescriptor.java49 if (hasMethod(beanClass, setterName)) {
56 if (hasMethod(beanClass, getterName)) {
89 if (hasMethod(beanClass, getterName)) {
93 if (hasMethod(beanClass, getterName)) {
98 if (hasMethod(beanClass, setterName)) {
211 boolean hasMethod(Class<?> beanClass, String methodName) { method in class:PropertyDescriptor
H A DIndexedPropertyDescriptor.java66 if (hasMethod(beanClass, getterName)) {
71 if (hasMethod(beanClass, setterName)) {
76 if (hasMethod(beanClass, indexedGetterName)) {
81 if (hasMethod(beanClass, indexedSetterName)) {

Completed in 117 milliseconds