private static PsiModifierListOwner getAsJavaPsi(RefMethod refMethod) {
    UMethod uMethod = refMethod.getUastElement();
    if (uMethod == null) return null;
    return uMethod.getJavaPsi();
  }
private static PsiModifierListOwner getAsJavaPsi(RefMethod refMethod)