Home
last modified time | relevance | path

Searched refs:getterType (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/util/
DReflectiveProperty.java76 Class getterType = mGetter.getReturnType(); in ReflectiveProperty() local
78 if (!typesMatch(valueType, getterType)) { in ReflectiveProperty()
79 throw new NoSuchPropertyException("Underlying type (" + getterType + ") " + in ReflectiveProperty()
84 mSetter = propertyHolder.getMethod(setterName, getterType); in ReflectiveProperty()
97 private boolean typesMatch(Class<V> valueType, Class getterType) { in typesMatch() argument
98 if (getterType != valueType) { in typesMatch()
99 if (getterType.isPrimitive()) { in typesMatch()
100 return (getterType == float.class && valueType == Float.class) || in typesMatch()
101 (getterType == int.class && valueType == Integer.class) || in typesMatch()
102 (getterType == boolean.class && valueType == Boolean.class) || in typesMatch()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java1755 String getterType) { in AdapterGetter() argument
1758 mGetterType = getterType; in AdapterGetter()