void (PsiElement @NotNull [] elements) { boolean condition = elements.length == 1 && elements[0] instanceof PsiMethod; LOG.assertTrue(condition); getChangeInfo().updateMethod((PsiMethod) elements[0]); }