List<String> () { if(!ReadAction.nonBlocking(() -> LombokLibraryUtil.hasLombokLibrary(myProject)).executeSynchronously()) { return Collections.emptyList(); } List<String> result = new ArrayList<>(); final String lombokVersion = LombokLibraryUtil.getLombokVersionCached(myProject); if (ProjectSettings.isEnabled(myProject, ProjectSettings.IS_LOMBOK_JPS_FIX_ENABLED) && Version.isLessThan(lombokVersion, Version.LAST_LOMBOK_VERSION_WITH_JPS_FIX)) { result.add("-Djps.track.ap.dependencies=false"); } return result; }