Searched refs:modelClass2 (Results 1 – 1 of 1) sorted by relevance
91 ModelClass modelClass2) { in findCommonParentOf() argument93 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()