Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
59,600 | void (boolean disableWrapperSourceDistributionNotification) { this.disableWrapperSourceDistributionNotification = disableWrapperSourceDistributionNotification; } | setDisableWrapperSourceDistributionNotification |
59,601 | boolean () { return resolveModulePerSourceSet; } | isResolveModulePerSourceSet |
59,602 | void (boolean useIdeModulePerSourceSet) { this.resolveModulePerSourceSet = useIdeModulePerSourceSet; } | setResolveModulePerSourceSet |
59,603 | boolean () { return resolveExternalAnnotations; } | isResolveExternalAnnotations |
59,604 | void (boolean resolveExternalAnnotations) { this.resolveExternalAnnotations = resolveExternalAnnotations; } | setResolveExternalAnnotations |
59,605 | void (@Nullable CompositeBuild compositeBuild) { myCompositeBuild = compositeBuild; } | setCompositeBuild |
59,606 | boolean () { return ObjectUtils.notNull(delegatedBuild, DEFAULT_DELEGATE); } | getDelegatedBuild |
59,607 | void (@NotNull Boolean state) { this.delegatedBuild = state; } | setDelegatedBuild |
59,608 | void (@Nullable Boolean state) { delegatedBuild = ObjectUtils.notNull(state, DEFAULT_DELEGATE); } | setDirectDelegatedBuild |
59,609 | boolean (@NotNull Project project, @Nullable String gradleProjectPath) { GradleProjectSettings projectSettings = gradleProjectPath == null ? null : GradleSettings.getInstance(project).getLinkedProjectSettings(gradleProjectPath); if (projectSettings == null) return false; return projectSettings.getDelegatedBuild(); } | isDelegatedBuildEnabled |
59,610 | boolean (@NotNull Module module) { return isDelegatedBuildEnabled(module.getProject(), ExternalSystemApiUtil.getExternalRootProjectPath(module)); } | isDelegatedBuildEnabled |
59,611 | TestRunner () { return ObjectUtils.notNull(testRunner, DEFAULT_TEST_RUNNER); } | getTestRunner |
59,612 | void (@NotNull TestRunner testRunner) { if (LOG.isDebugEnabled()) { if (testRunner != TestRunner.GRADLE) { LOG.debug(String.format("Gradle test runner sets to %s", testRunner), new Throwable()); } } this.testRunner = testRunner; } | setTestRunner |
59,613 | void (@Nullable TestRunner testRunner) { this.testRunner = ObjectUtils.notNull(testRunner, DEFAULT_TEST_RUNNER); } | setDirectTestRunner |
59,614 | TestRunner (@NotNull Project project, @Nullable String gradleProjectPath) { GradleProjectSettings projectSettings = gradleProjectPath == null ? null : GradleSettings.getInstance(project).getLinkedProjectSettings(gradleProjectPath); TestRunner testRunner = projectSettings == null ? TestRunner.PLATFORM : projectSettings.... | getTestRunner |
59,615 | TestRunner (@NotNull Module module) { return getTestRunner(module.getProject(), ExternalSystemApiUtil.getExternalRootProjectPath(module)); } | getTestRunner |
59,616 | GradleVersion () { GradleVersion version = GradleInstallationManager.guessGradleVersion(this); return Optional.ofNullable(version).orElseGet(GradleVersion::current); } | resolveGradleVersion |
59,617 | GradleProjectSettings () { setUseQualifiedModuleNames(true); return this; } | withQualifiedModuleNames |
59,618 | GradleProjectSettings () { GradleProjectSettings result = new GradleProjectSettings(); copyTo(result); result.myGradleJvm = myGradleJvm; result.myDistributionType = myDistributionType; result.myGradleHome = myGradleHome; result.disableWrapperSourceDistributionNotification = disableWrapperSourceDistributionNotification;... | clone |
59,619 | void (@Nullable CompositeDefinitionSource compositeDefinitionSource) { myCompositeDefinitionSource = compositeDefinitionSource; } | setCompositeDefinitionSource |
59,620 | List<BuildParticipant> () { return myCompositeParticipants; } | getCompositeParticipants |
59,621 | void (@Nullable List<? extends BuildParticipant> compositeParticipants) { myCompositeParticipants = compositeParticipants == null ? new SmartList<>() : new ArrayList<>(compositeParticipants); } | setCompositeParticipants |
59,622 | CompositeBuild () { CompositeBuild result = new CompositeBuild(); result.myCompositeParticipants = new ArrayList<>(); for (BuildParticipant participant : myCompositeParticipants) { result.myCompositeParticipants.add(participant.copy()); } result.myCompositeDefinitionSource = myCompositeDefinitionSource; return result; ... | copy |
59,623 | DistributionType () { return type; } | getType |
59,624 | GradleVersion () { return gradleVersion; } | getGradleVersion |
59,625 | void (@Nullable String ideProjectPath) { myIdeProjectPath = ideProjectPath; } | setIdeProjectPath |
59,626 | String () { return myIdeProjectPath; } | getIdeProjectPath |
59,627 | String () { return myGradleHome; } | getGradleHome |
59,628 | String () { return myServiceDirectory; } | getServiceDirectory |
59,629 | String () { return myJavaHome; } | getJavaHome |
59,630 | void (@Nullable String javaHome) { myJavaHome = javaHome; } | setJavaHome |
59,631 | boolean () { return myIsOfflineWork; } | isOfflineWork |
59,632 | boolean () { return resolveModulePerSourceSet; } | isResolveModulePerSourceSet |
59,633 | void (boolean resolveModulePerSourceSet) { this.resolveModulePerSourceSet = resolveModulePerSourceSet; } | setResolveModulePerSourceSet |
59,634 | boolean () { return useQualifiedModuleNames; } | isUseQualifiedModuleNames |
59,635 | void (boolean useQualifiedModuleNames) { this.useQualifiedModuleNames = useQualifiedModuleNames; } | setUseQualifiedModuleNames |
59,636 | boolean () { return delegatedBuild; } | isDelegatedBuild |
59,637 | void (boolean delegatedBuild) { this.delegatedBuild = delegatedBuild; } | setDelegatedBuild |
59,638 | String () { return wrapperPropertyFile; } | getWrapperPropertyFile |
59,639 | void (@Nullable String wrapperPropertyFile) { this.wrapperPropertyFile = wrapperPropertyFile; } | setWrapperPropertyFile |
59,640 | DistributionType () { return myDistributionType; } | getDistributionType |
59,641 | GradleExecutionWorkspace () { return myExecutionWorkspace; } | getExecutionWorkspace |
59,642 | boolean () { var value = getUserData(GradleRunConfiguration.DEBUG_ALL_KEY); return ObjectUtils.chooseNotNull(value, false); } | isDebugAllEnabled |
59,643 | boolean () { var value = getUserData(GradleRunConfiguration.RUN_AS_TEST_KEY); return ObjectUtils.chooseNotNull(value, false); } | isRunAsTest |
59,644 | void (boolean isRunAsTest) { putUserData(GradleRunConfiguration.RUN_AS_TEST_KEY, isRunAsTest); } | setRunAsTest |
59,645 | boolean () { var value = getUserData(GradleRunConfiguration.IS_TEST_TASK_RERUN_KEY); return ObjectUtils.chooseNotNull(value, false); } | isTestTaskRerun |
59,646 | boolean () { return myBuiltInTestEventsUsed; } | isBuiltInTestEventsUsed |
59,647 | void (boolean isBuiltInTestEventsUsed) { myBuiltInTestEventsUsed = isBuiltInTestEventsUsed; } | setBuiltInTestEventsUsed |
59,648 | boolean () { return downloadSources; } | isDownloadSources |
59,649 | void (boolean downloadSources) { this.downloadSources = downloadSources; } | setDownloadSources |
59,650 | boolean () { return isParallelModelFetch; } | isParallelModelFetch |
59,651 | void (boolean parallelModelFetch) { isParallelModelFetch = parallelModelFetch; } | setParallelModelFetch |
59,652 | int () { int result = super.hashCode(); result = 31 * result + (myGradleHome != null ? myGradleHome.hashCode() : 0); result = 31 * result + (myServiceDirectory != null ? myServiceDirectory.hashCode() : 0); result = 31 * result + myDistributionType.hashCode(); result = 31 * result + (myJavaHome != null ? myJavaHome.hash... | hashCode |
59,653 | boolean (Object o) { if (!super.equals(o)) return false; GradleExecutionSettings that = (GradleExecutionSettings)o; if (myDistributionType != that.myDistributionType) return false; if (!Objects.equals(myGradleHome, that.myGradleHome)) return false; if (!Objects.equals(myJavaHome, that.myJavaHome)) return false; if (!Ob... | equals |
59,654 | String () { return "home: " + myGradleHome + ", distributionType: " + myDistributionType; } | toString |
59,655 | boolean () { return this == DEFAULT_WRAPPED || this == WRAPPED; } | isWrapped |
59,656 | GradleSystemSettings () { return ApplicationManager.getApplication().getService(GradleSystemSettings.class); } | getInstance |
59,657 | void (@NotNull MyState state) { myServiceDirectoryPath = state.serviceDirectoryPath; myGradleVmOptions = state.gradleVmOptions; } | loadState |
59,658 | String () { return myServiceDirectoryPath; } | getServiceDirectoryPath |
59,659 | void (@Nullable String newPath) { myServiceDirectoryPath = newPath; } | setServiceDirectoryPath |
59,660 | String () { return myGradleVmOptions; } | getGradleVmOptions |
59,661 | void (@Nullable String gradleVmOptions) { myGradleVmOptions = gradleVmOptions; } | setGradleVmOptions |
59,662 | boolean () { return false; } | isOfflineWork |
59,663 | int () { return StringUtil.parseInt(myElement.getAttributeValue("migrationVersion"), 0); } | getMigrationVersion |
59,664 | void (int version) { myElement.setAttribute("migrationVersion", String.valueOf(version)); } | setMigrationVersion |
59,665 | Element () { return myElement; } | getState |
59,666 | void (@NotNull Element state) { myElement = state; } | loadState |
59,667 | MyState () { return myState; } | getState |
59,668 | void (@NotNull MyState state) { myState = state; } | loadState |
59,669 | int (File file) { return ExternalSystemUtil.fileHashCode(file); } | hashCode |
59,670 | boolean (File o1, File o2) { return ExternalSystemUtil.filesEqual(o1, o2); } | equals |
59,671 | String () { return myProjectPath; } | getProjectPath |
59,672 | void (ModuleData moduleData) { List<File> artifacts = moduleData.getArtifacts(); if (!artifacts.isEmpty()) { for (File artifact : artifacts) { moduleArtifactMap.put(artifact, moduleData); } } moduleNameMap.put(moduleData.getExternalName(), moduleData); if (moduleData instanceof GradleSourceSetData) { String mainModuleN... | addModule |
59,673 | ModuleData (Collection<? extends File> artifacts) { ModuleData moduleData = null; for (File artifact : artifacts) { moduleData = moduleArtifactMap.get(artifact); if (moduleData != null) break; } return moduleData; } | findModuleDataByArtifacts |
59,674 | ModuleData (String moduleName) { return moduleNameMap.get(moduleName); } | findModuleDataByName |
59,675 | GradleLocalSettings (@NotNull Project project) { return project.getService(GradleLocalSettings.class); } | getInstance |
59,676 | String (String linkedProjectPath) { return ContainerUtil.notNullize(state.myGradleHomes).get(linkedProjectPath); } | getGradleHome |
59,677 | String (String linkedProjectPath) { return ContainerUtil.notNullize(state.myGradleVersions).get(linkedProjectPath); } | getGradleVersion |
59,678 | void (@NotNull String linkedProjectPath, @NotNull String gradleHome) { if (state.myGradleHomes == null) { state.myGradleHomes = new HashMap<>(); } state.myGradleHomes.put(linkedProjectPath, gradleHome); if (state.myGradleVersions == null) { state.myGradleVersions = new HashMap<>(); } state.myGradleVersions.put(linkedPr... | setGradleHome |
59,679 | String () { return state.myGradleUserHome; } | getGradleUserHome |
59,680 | void (@Nullable String gradleUserHome) { state.myGradleUserHome = gradleUserHome; // --- to be removed with the removal of GradleSystemSettings#getServiceDirectoryPath method --- //noinspection deprecation GradleSystemSettings.getInstance().setServiceDirectoryPath(gradleUserHome); // ---- } | setGradleUserHome |
59,681 | void (@NotNull Set<String> linkedProjectPathsToForget) { super.forgetExternalProjects(linkedProjectPathsToForget); for (String path : linkedProjectPathsToForget) { if (state.myGradleHomes != null) { state.myGradleHomes.remove(path); } if (state.myGradleVersions != null) { state.myGradleVersions.remove(path); } } } | forgetExternalProjects |
59,682 | void (@NotNull MyState state) { super.loadState(state); // --- to be removed with the removal of GradleSystemSettings#getServiceDirectoryPath method --- //noinspection deprecation String serviceDirectoryPath = GradleSystemSettings.getInstance().getServiceDirectoryPath(); if (state.myGradleUserHome == null && serviceDir... | loadState |
59,683 | void (GradleBuildParticipant participant) { myBuildParticipants.add(participant); } | addBuildParticipant |
59,684 | List<GradleBuildParticipant> () { return Collections.unmodifiableList(myBuildParticipants); } | getBuildParticipants |
59,685 | ModuleData (Collection<File> artifacts) { ModuleData result = null; for (GradleBuildParticipant buildParticipant : myBuildParticipants) { result = buildParticipant.findModuleDataByArtifacts(artifacts); if (result != null) break; } return result; } | findModuleDataByArtifacts |
59,686 | ModuleData (@NotNull String moduleName) { ModuleData result = null; List<Pair<DataNode<ModuleData>, IdeaModule>> possiblePairs = myModuleNameIndex.get(moduleName); if (possiblePairs != null) { if (possiblePairs.size() == 1) { return possiblePairs.get(0).first.getData(); } else if (possiblePairs.size() > 1) { LOG.warn("... | findModuleDataByGradleModuleName |
59,687 | ModuleData (@NotNull String moduleId) { final Pair<DataNode<ModuleData>, IdeaModule> pair = myModuleIdIndex.get(moduleId); if (pair != null) { return pair.first.getData(); } return null; } | findModuleDataByModuleId |
59,688 | ModuleData (@NotNull ProjectResolverContext resolverContext, @NotNull IdeaModule dependencyModule) { final String id = GradleProjectResolverUtil.getModuleId(resolverContext, dependencyModule); final Pair<DataNode<ModuleData>, IdeaModule> pair = myModuleIdIndex.get(id); if (pair != null) { return pair.first.getData(); }... | findModuleDataByModule |
59,689 | void (Map<String, Pair<DataNode<ModuleData>, IdeaModule>> moduleIdIndex) { myModuleIdIndex = moduleIdIndex; myModuleNameIndex = moduleIdIndex.values().stream().collect(Collectors.groupingBy((Pair<DataNode<ModuleData>, IdeaModule> val) -> val.second.getName())); } | setModuleIdIndex |
59,690 | GradleSettings (@NotNull Project project) { return project.getService(GradleSettings.class); } | getInstance |
59,691 | void (@NotNull ExternalSystemSettingsListener<GradleProjectSettings> listener, @NotNull Disposable parentDisposable) { doSubscribe(new DelegatingGradleSettingsListenerAdapter(listener), parentDisposable); } | subscribe |
59,692 | void (@NotNull GradleSettings settings) { } | copyExtraSettingsFrom |
59,693 | void (@NotNull MyState state) { super.loadState(state); setOfflineWork(state.isOfflineMode()); setParallelModelFetch(state.isParallelModelFetch()); if (ApplicationManager.getApplication().isUnitTestMode()) { return; } GradleSettingsMigration migration = getProject().getService(GradleSettingsMigration.class); // When we... | loadState |
59,694 | String () { return GradleLocalSettings.getInstance(getProject()).getGradleUserHome(); } | getServiceDirectoryPath |
59,695 | void (@Nullable String newPath) { String myServiceDirectoryPath = GradleLocalSettings.getInstance(getProject()).getGradleUserHome(); if (!Objects.equals(myServiceDirectoryPath, newPath)) { GradleLocalSettings.getInstance(getProject()).setGradleUserHome(newPath); getPublisher().onServiceDirectoryPathChange(myServiceDire... | setServiceDirectoryPath |
59,696 | String () { return GradleSystemSettings.getInstance().getGradleVmOptions(); } | getGradleVmOptions |
59,697 | void (@Nullable String gradleVmOptions) { String myGradleVmOptions = GradleSystemSettings.getInstance().getGradleVmOptions(); if (!Objects.equals(myGradleVmOptions, gradleVmOptions)) { GradleSystemSettings.getInstance().setGradleVmOptions(gradleVmOptions); getPublisher().onGradleVmOptionsChange(myGradleVmOptions, gradl... | setGradleVmOptions |
59,698 | boolean () { return isOfflineMode; } | isOfflineWork |
59,699 | void (boolean isOfflineMode) { this.isOfflineMode = isOfflineMode; } | setOfflineWork |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.