boolean () { boolean forceAssert = isInSection(FORCE_ASSERT); if (!forceAssert && !Registry.is("ide.slow.operations.assertion", true)) { return true; } Application application = ApplicationManager.getApplication(); if (application.isWriteAccessAllowed() && !Registry.is("ide.slow.operations.assertion.write.action")) { return true; } if (ourStack.isEmpty() && !Registry.is("ide.slow.operations.assertion.other", false)) { return true; } for (String activity : ourStack) { if (RESET.equals(activity)) { break; } if (!Registry.is("ide.slow.operations.assertion." + activity, true)) { return true; } } return false; }