Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
59,800 | CheckboxTree () { final CheckedTreeNode root = new CheckedTreeNode(); if (myCompositeRootSettings != null) { List<CheckedTreeNode> nodes = new ArrayList<>(); for (GradleProjectSettings projectSettings : GradleSettings.getInstance(myProject).getLinkedProjectsSettings()) { if (projectSettings == myCompositeRootSettings) ... | createTree |
59,801 | void (JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (!(value instanceof CheckedTreeNode node)) return; if (!(node.getUserObject() instanceof Pair pair)) return; ColoredTreeCellRenderer renderer = getTextRenderer(); renderer.setIcon(myExternalSystemUiAware.ge... | customizeRenderer |
59,802 | void (Consumer<? super CheckedTreeNode> consumer) { final TreeModel treeModel = myTree.getModel(); final Object root = treeModel.getRoot(); if (!(root instanceof CheckedTreeNode)) return; for (TreeNode node : TreeUtil.listChildren((CheckedTreeNode)root)) { if (!(node instanceof CheckedTreeNode)) continue; consumer.cons... | walkTree |
59,803 | void (@NotNull AnActionEvent e) { walkTree(node -> node.setChecked(true)); ((DefaultTreeModel)myTree.getModel()).reload(); } | actionPerformed |
59,804 | ActionUpdateThread () { return ActionUpdateThread.BGT; } | getActionUpdateThread |
59,805 | void (@NotNull AnActionEvent e) { walkTree(node -> node.setChecked(false)); ((DefaultTreeModel)myTree.getModel()).reload(); } | actionPerformed |
59,806 | ActionUpdateThread () { return ActionUpdateThread.BGT; } | getActionUpdateThread |
59,807 | void (@NotNull Collection<? extends DataNode<LibraryData>> libraries) { if (libraries.isEmpty()) { return; } Map<String, Wrapped> names = new HashMap<>(); List<Wrapped> data = new ArrayList<>(); for (DataNode<LibraryData> library : libraries) { Wrapped wrapped = new Wrapped(library.getData()); data.add(wrapped); } bool... | mixNames |
59,808 | boolean (@NotNull Collection<? extends Wrapped> libraries, @NotNull Map<String, Wrapped> cache) { cache.clear(); for (Wrapped current : libraries) { Wrapped previous = cache.remove(current.library.getExternalName()); if (previous == null) { cache.put(current.library.getExternalName(), current); } else { mixNames(curren... | doMixNames |
59,809 | void (@NotNull Wrapped wrapped1, @NotNull Wrapped wrapped2) { if (!wrapped1.prepare() || !wrapped2.prepare()) { return; } String wrapped1AltText = null; String wrapped2AltText = null; for (File file1 = wrapped1.currentFile, file2 = wrapped2.currentFile; file1 != null && file2 != null; file1 = file1.getParentFile(), fil... | mixNames |
59,810 | void (@NotNull String changeText, @NotNull Wrapped wrapped, @Nullable File file) { String name = wrapped.library.getExternalName(); int i = file == null ? - 1 : name.indexOf(file.getName()); final String newName; if (i >= 0) { newName = name.substring(0, i + file.getName().length()) + NAME_SEPARATOR + changeText + name... | diversifyName |
59,811 | boolean () { if (currentFile != null) { return true; } return nextFile(); } | prepare |
59,812 | boolean () { if (files.isEmpty()) { return false; } Iterator<File> iterator = files.iterator(); currentFile = iterator.next(); iterator.remove(); return true; } | nextFile |
59,813 | Set<File> () { return scalaClasspath; } | getScalaClasspath |
59,814 | void (Set<File> scalaClasspath) { this.scalaClasspath = scalaClasspath; } | setScalaClasspath |
59,815 | Set<File> () { return zincClasspath; } | getZincClasspath |
59,816 | void (Set<File> zincClasspath) { this.zincClasspath = zincClasspath; } | setZincClasspath |
59,817 | ScalaCompileOptionsData () { return scalaCompileOptions; } | getScalaCompileOptions |
59,818 | void (ScalaCompileOptionsData scalaCompileOptions) { this.scalaCompileOptions = scalaCompileOptions; } | setScalaCompileOptions |
59,819 | String () { return sourceCompatibility; } | getSourceCompatibility |
59,820 | void (String sourceCompatibility) { this.sourceCompatibility = sourceCompatibility; } | setSourceCompatibility |
59,821 | String () { return targetCompatibility; } | getTargetCompatibility |
59,822 | void (String targetCompatibility) { this.targetCompatibility = targetCompatibility; } | setTargetCompatibility |
59,823 | boolean (Object o) { if (this == o) return true; if (!(o instanceof ScalaModelData data)) return false; if (!super.equals(o)) return false; if (scalaClasspath != null ? !scalaClasspath.equals(data.scalaClasspath) : data.scalaClasspath != null) return false; if (scalaCompileOptions != null ? !scalaCompileOptions.equals(... | equals |
59,824 | int () { int result = super.hashCode(); result = 31 * result + (scalaClasspath != null ? scalaClasspath.hashCode() : 0); result = 31 * result + (zincClasspath != null ? zincClasspath.hashCode() : 0); result = 31 * result + (scalaCompileOptions != null ? scalaCompileOptions.hashCode() : 0); result = 31 * result + (sourc... | hashCode |
59,825 | String () { return name; } | getName |
59,826 | String () { return manifestContent; } | getManifestContent |
59,827 | void (@Nullable String manifestContent) { this.manifestContent = manifestContent; } | setManifestContent |
59,828 | File () { return archivePath; } | getArchivePath |
59,829 | void (@Nullable File archivePath) { this.archivePath = archivePath; } | setArchivePath |
59,830 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; Jar that = (Jar)o; if (!name.equals(that.name)) return false; return true; } | equals |
59,831 | int () { int result = super.hashCode(); result = 31 * result + name.hashCode(); return result; } | hashCode |
59,832 | String () { return "Jar{'" + name + "'}"; } | toString |
59,833 | List<Ear> () { return ears; } | getArtifacts |
59,834 | boolean (Object o) { if (this == o) return true; if (!(o instanceof EarConfigurationModelData data)) return false; if (!super.equals(o)) return false; if (!ears.equals(data.ears)) return false; return true; } | equals |
59,835 | int () { int result = super.hashCode(); result = 31 * result + ears.hashCode(); return result; } | hashCode |
59,836 | String () { return "ears='" + ears + '\''; } | toString |
59,837 | String () { return appDirName; } | getAppDirName |
59,838 | String () { return libDirName; } | getLibDirName |
59,839 | void (String deploymentDescriptor) { this.deploymentDescriptor = deploymentDescriptor; } | setDeploymentDescriptor |
59,840 | String () { return deploymentDescriptor; } | getDeploymentDescriptor |
59,841 | List<EarResource> () { return myResources; } | getResources |
59,842 | void (@NotNull List<EarResource> resources) { myResources = resources; } | setResources |
59,843 | boolean (Object o) { if (this == o) return true; if (!(o instanceof Ear that)) return false; if (!super.equals(o)) return false; if (!appDirName.equals(that.appDirName)) return false; if (!libDirName.equals(that.libDirName)) return false; return true; } | equals |
59,844 | int () { int result = super.hashCode(); result = 31 * result + appDirName.hashCode(); result = 31 * result + libDirName.hashCode(); return result; } | hashCode |
59,845 | String () { return "Ear{" + "appDirName='" + appDirName + '\'' + ", libDirName='" + libDirName + '\'' + '}'; } | toString |
59,846 | String () { return relativePath; } | getRelativePath |
59,847 | boolean () { for (WarDirectory warDirectory : WAR_DIRECTORIES) { if (relativePath.equals(warDirectory.getRelativePath())) return false; } return true; } | isCustomDirectory |
59,848 | WarDirectory (final @NotNull String path) { if (StringUtil.isEmpty(path)) return WAR_ROOT; final String adjustedPath = getAdjustedPath(path); for (WarDirectory warDirectory : WAR_DIRECTORIES) { if (warDirectory.relativePath.equals(adjustedPath)) return warDirectory; } return new WarDirectory(adjustedPath); } | fromPath |
59,849 | String (final @NotNull String path) { return path.isEmpty() || path.charAt(0) != '/' ? '/' + path : path; } | getAdjustedPath |
59,850 | String () { return relativePath; } | toString |
59,851 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; WarDirectory directory = (WarDirectory)o; if (!relativePath.equals(directory.relativePath)) return false; return true; } | equals |
59,852 | int () { return relativePath.hashCode(); } | hashCode |
59,853 | String () { return rootProjectPath; } | getRootProjectPath |
59,854 | List<BuildParticipant> () { return myCompositeParticipants; } | getCompositeParticipants |
59,855 | File () { return gradleHomeDir; } | getGradleHomeDir |
59,856 | void (@Nullable File gradleHomeDir) { this.gradleHomeDir = gradleHomeDir; } | setGradleHomeDir |
59,857 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; BuildScriptClasspathData data = (BuildScriptClasspathData)o; return Objects.equals(gradleHomeDir, data.gradleHomeDir) && classpathEntries.equals(data.classpathEntries); } | equals |
59,858 | int () { return Objects.hash(super.hashCode(), gradleHomeDir, classpathEntries); } | hashCode |
59,859 | List<ClasspathEntry> () { return classpathEntries; } | getClasspathEntries |
59,860 | ClasspathEntry (@NotNull Set<String> classesFile, @NotNull Set<String> sourcesFile, @NotNull Set<String> javadocFile) { return ourEntryInterner.intern(new ClasspathEntry(classesFile, sourcesFile, javadocFile)); } | create |
59,861 | Set<String> () { return classesFile; } | getClassesFile |
59,862 | Set<String> () { return sourcesFile; } | getSourcesFile |
59,863 | Set<String> () { return javadocFile; } | getJavadocFile |
59,864 | boolean (Object o) { if (this == o) return true; if (!(o instanceof ClasspathEntry entry)) return false; if (!classesFile.equals(entry.classesFile)) return false; if (!javadocFile.equals(entry.javadocFile)) return false; if (!sourcesFile.equals(entry.sourcesFile)) return false; return true; } | equals |
59,865 | int () { int result = classesFile.hashCode(); result = 31 * result + sourcesFile.hashCode(); result = 31 * result + javadocFile.hashCode(); return result; } | hashCode |
59,866 | List<War> () { return artifacts; } | getArtifacts |
59,867 | boolean (Object o) { if (this == o) return true; if (!(o instanceof WebConfigurationModelData data)) return false; if (!super.equals(o)) return false; if (!artifacts.equals(data.artifacts)) return false; return true; } | equals |
59,868 | int () { int result = super.hashCode(); result = 31 * result + artifacts.hashCode(); return result; } | hashCode |
59,869 | String () { return "WebConfigurationModelData{" + "myWars=" + artifacts + '}'; } | toString |
59,870 | String () { return super.getIdeGrouping() + ":" + getSourceSetName(); } | getIdeGrouping |
59,871 | String () { return super.getIdeGrouping(); } | getIdeParentGrouping |
59,872 | String () { return StringUtil.substringAfterLast(getExternalName(), ":"); } | getSourceSetName |
59,873 | String () { return webAppDirName; } | getWebAppDirName |
59,874 | File () { return webAppDir; } | getWebAppDir |
59,875 | void (@Nullable File webXml) { this.webXml = webXml; } | setWebXml |
59,876 | File () { return webXml; } | getWebXml |
59,877 | void (@Nullable List<WebResource> webResources) { this.webResources = webResources == null ? Collections.emptyList() : webResources; } | setWebResources |
59,878 | List<WebResource> () { return webResources; } | getWebResources |
59,879 | void (@Nullable Set<File> classpath) { this.classpath = classpath == null ? Collections.emptySet() : classpath; } | setClasspath |
59,880 | Set<File> () { return classpath; } | getClasspath |
59,881 | boolean (Object o) { if (this == o) return true; if (!(o instanceof War war)) return false; if (!super.equals(o)) return false; if (!webAppDirName.equals(war.webAppDirName)) return false; if (!webResources.equals(war.webResources)) return false; if (!classpath.equals(war.classpath)) return false; return true; } | equals |
59,882 | int () { int result = super.hashCode(); result = 31 * result + webAppDirName.hashCode(); result = 31 * result + webResources.hashCode(); return result; } | hashCode |
59,883 | String () { return "War{" + "name='" + getName() + '\'' + ", webAppDirName='" + webAppDirName + '\'' + ", webAppDir=" + webAppDir + ", webXml=" + webXml + ", webResources=" + webResources + '}'; } | toString |
59,884 | String () { return earDirectory; } | getEarDirectory |
59,885 | String () { return relativePath; } | getRelativePath |
59,886 | File () { return file; } | getFile |
59,887 | String (final @NotNull String path) { return path.isEmpty() || path.charAt(0) != '/' ? '/' + path : path; } | getAdjustedPath |
59,888 | boolean (Object o) { if (this == o) return true; if (!(o instanceof EarResource resource)) return false; if (!file.getPath().equals(resource.file.getPath())) return false; if (!earDirectory.equals(resource.earDirectory)) return false; if (!relativePath.equals(resource.relativePath)) return false; return true; } | equals |
59,889 | int () { int result = earDirectory.hashCode(); result = 31 * result + relativePath.hashCode(); result = 31 * result + file.getPath().hashCode(); return result; } | hashCode |
59,890 | String () { return "Resource{" + "earDirectory=" + earDirectory + ", relativePath='" + relativePath + '\'' + ", file=" + file + '}'; } | toString |
59,891 | WarDirectory () { return warDirectory; } | getWarDirectory |
59,892 | String () { return warRelativePath; } | getWarRelativePath |
59,893 | File () { return file; } | getFile |
59,894 | String (final @NotNull String path) { return path.isEmpty() || path.charAt(0) != '/' ? '/' + path : path; } | getAdjustedPath |
59,895 | boolean (Object o) { if (this == o) return true; if (!(o instanceof WebResource resource)) return false; if (!file.getPath().equals(resource.file.getPath())) return false; if (warDirectory != resource.warDirectory) return false; if (!warRelativePath.equals(resource.warRelativePath)) return false; return true; } | equals |
59,896 | int () { int result = warDirectory.hashCode(); result = 31 * result + warRelativePath.hashCode(); result = 31 * result + file.getPath().hashCode(); return result; } | hashCode |
59,897 | String () { return "WebResource{" + "myWarDirectory=" + warDirectory + ", warRelativePath='" + warRelativePath + '\'' + ", file=" + file + '}'; } | toString |
59,898 | File () { return buildScriptSource; } | getBuildScriptSource |
59,899 | String () { return myRootProjectName; } | getRootProjectName |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.