@Override
  public void updateMethod(@NotNull PsiMethod psiMethod) {
    if (psiMethod instanceof GrMethod) {
      method = (GrMethod)psiMethod;
    }
  }
@Override
  public void updateMethod(@NotNull PsiMethod psiMethod)