Searched refs:modelClass1 (Results 1 – 1 of 1) sorted by relevance
90 public ModelClass findCommonParentOf(ModelClass modelClass1, in findCommonParentOf() argument92 ModelClass curr = modelClass1; in findCommonParentOf()97 if (modelClass1.isObject() && modelClass2.isInterface()) { in findCommonParentOf()98 return modelClass1; in findCommonParentOf()99 } else if (modelClass2.isObject() && modelClass1.isInterface()) { in findCommonParentOf()103 ModelClass primitive1 = modelClass1.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()