private int matchingDegree(@NotNull Matcher matcher, @NotNull Object modelElement) {
    String name = myModel.getElementName(modelElement);
    return name != null && matcher instanceof MinusculeMatcher ? ((MinusculeMatcher)matcher).matchingDegree(name) : Integer.MIN_VALUE;
  }
private int matchingDegree(@NotNull Matcher matcher, @NotNull Object modelElement)