void (@NotNull PsiMethod method) { boolean isSectionCommentsDetected = registerSectionComments(method); final TextRange range = isSectionCommentsDetected ? getElementRangeWithoutComments(method) : method.getTextRange(); ArrangementSettingsToken type = method.isConstructor() ? CONSTRUCTOR : METHOD; JavaElementArrangementEntry entry = createNewEntry(range, type, method.getName()); if (entry == null) { return; } processEntry(entry, method, myCheckDeep ? method.getBody() : null); parseProperties(method, entry); myInfo.onMethodEntryCreated(method, entry); MethodSignatureBackedByPsiMethod overridden = SuperMethodsSearch.search(method, null, true, false).findFirst(); if (overridden != null) { entry.addModifier(OVERRIDDEN); myInfo.onOverriddenMethod(overridden.getMethod(), method); } boolean reset = myMethodBodyProcessor.setBaseMethod(method); try { method.accept(myMethodBodyProcessor); } finally { if (reset) { myMethodBodyProcessor.setBaseMethod(null); } } }