Home
last modified time | relevance | path

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

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelAnalyzer.java91 ModelClass modelClass2) { in findCommonParentOf() argument
93 while (curr != null && !curr.isAssignableFrom(modelClass2)) { in findCommonParentOf()
97 if (modelClass1.isObject() && modelClass2.isInterface()) { in findCommonParentOf()
99 } else if (modelClass2.isObject() && modelClass1.isInterface()) { in findCommonParentOf()
100 return modelClass2; in findCommonParentOf()
104 ModelClass primitive2 = modelClass2.unbox(); in findCommonParentOf()
105 if (!modelClass1.equals(primitive1) || !modelClass2.equals(primitive2)) { in findCommonParentOf()
110 "must be able to find a common parent for " + modelClass1 + " and " + modelClass2); in findCommonParentOf()