@Nullable
  private PsiElement findAnchor(String name) {
    final int myPriority = PRIORITY.getInt(name);
    PsiElement anchor = null;

    for (PsiElement modifier : getModifiers()) {
      final int otherPriority = PRIORITY.getInt(modifier.getText());
      if (otherPriority <= myPriority) {
        anchor = modifier;
      }
      else if (anchor != null) {
        break;
      }
    }
    return anchor;
  }
@Nullable
  private PsiElement findAnchor(String name)