AccessToken () { // get useful information about the write action Class<?> callerClass = ObjectUtils.notNull(ReflectionUtil.getCallerClass(3), WriteAction.class); return ApplicationManager.getApplication().acquireWriteActionLock(callerClass); }