boolean (CompileContext context, GroovyCompilerResult result) { if (CHUNK_REBUILD_ORDERED.get(context) != null) { if (!myForStubs) { CHUNK_REBUILD_ORDERED.set(context, null); } return false; } if (JavaBuilderUtil.isForcedRecompilationAllJavaModules(context) || !result.shouldRetry()) { return false; } CHUNK_REBUILD_ORDERED.set(context, Boolean.TRUE); LOG.info("Order chunk rebuild"); return true; }