Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
58,200 | boolean (ResolvedArtifact artifact) { return isDependencySubstitutionsSupported && artifact.getId().getComponentIdentifier() instanceof ProjectComponentIdentifier; } | isProjectDependencyArtifact |
58,201 | Object (@NotNull Object obj, @NotNull String methodName, Object... args) { try { Method method = obj.getClass().getMethod(methodName); method.setAccessible(true); return method.invoke(obj, args); } catch (NoSuchMethodException e) { return null; } catch (InvocationTargetException e) { Throwable targetException = e.getTa... | invokeMethod |
58,202 | MyModuleIdentifier (ModuleVersionIdentifier id) { return new MyModuleIdentifier(id.getName(), id.getGroup()); } | toMyModuleIdentifier |
58,203 | MyModuleIdentifier (String name, String group) { return new MyModuleIdentifier(name, group); } | toMyModuleIdentifier |
58,204 | boolean (@Nullable Object input) { return input != null; } | apply |
58,205 | Iterator<T> () { final Iterator<T> source = sourceIterable.iterator(); return new AbstractIterator<T>() { @Override protected T computeNext() { while(true) { if (source.hasNext()) { T element = source.next(); if (!predicate.apply(element)) { continue; } return element; } return this.endOfData(); } } }; } | iterator |
58,206 | T () { while(true) { if (source.hasNext()) { T element = source.next(); if (!predicate.apply(element)) { continue; } return element; } return this.endOfData(); } } | computeNext |
58,207 | Configuration () { return myConfiguration; } | getConfiguration |
58,208 | Set<File> () { if (myConfigurationFiles == null) { myConfigurationFiles = myConfiguration.getResolvedConfiguration().getLenientConfiguration().getFiles(Specs.SATISFIES_ALL); } return myConfigurationFiles; } | getConfigurationFiles |
58,209 | Collection<ExternalDependency> () { return myDependencies; } | getDependencies |
58,210 | Collection<File> () { return myFiles; } | getFiles |
58,211 | RuntimeDependenciesProvider (DeprecatedDependencyResolver resolver) { Object configurationName = invokeMethod(mySourceSet, "getRuntimeConfigurationName"); assert configurationName != null; String runtimeConfigurationName = configurationName.toString(); Configuration runtimeClasspathConfiguration = myProject.getConfigur... | resolve |
58,212 | Set<File> () { return resolvedDepsFiles; } | getResolvedDepsFiles |
58,213 | Set<ExternalDependency> (ResolvedDependencyResult dependencyResult) { Set<ExternalDependency> result = new LinkedHashSet<>(); final ResolvedComponentResult componentResult = dependencyResult.getSelected(); if (!myVisitedComponentResults.add(getKey(componentResult))) { return Collections.emptySet(); } final ComponentIde... | processResolvedResult |
58,214 | ComponentResultKey (ResolvedComponentResult result) { if (is46rBetter) { try { ResolvedVariantResult variant = reflectiveCall(result, "getVariant", ResolvedVariantResult.class); return new AttributesBasedKey(result.getId(), variant.getAttributes()); } catch (Exception e) { myProject.getLogger().lifecycle("Error getting... | getKey |
58,215 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ComponentIdKey key = (ComponentIdKey)o; if (!myId.equals(key.myId)) return false; return true; } | equals |
58,216 | int () { return myId.hashCode(); } | hashCode |
58,217 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; AttributesBasedKey key = (AttributesBasedKey)o; if (!myId.equals(key.myId)) return false; if (!myAttributes.equals(key.myAttributes)) return false; return true; } | equals |
58,218 | int () { int result = myId.hashCode(); result = 31 * result + myAttributes.hashCode(); return result; } | hashCode |
58,219 | String () { return "AttributesBasedKey{" + "myId=" + myId + ", myAttributes=" + myAttributes + '}'; } | toString |
58,220 | DefaultExternalProjectDependency (ResolvedComponentResult componentResult, String projectPath, Configuration it) { String name = componentResult.getModuleVersion().getName(); String group = componentResult.getModuleVersion().getGroup(); String version = componentResult.getModuleVersion().getVersion(); ComponentSelectio... | createProjectDependency |
58,221 | ResolvedArtifactResult (ResolvedArtifact artifact, ComponentArtifactsResult componentArtifacts, Class<? extends Artifact> artifactType) { String baseName = Files.getNameWithoutExtension(artifact.getFile().getName()); Set<ArtifactResult> artifactResults = componentArtifacts.getArtifacts(artifactType); if (artifactResult... | findMatchingArtifact |
58,222 | Set<String> () { return unmodifiablePathSet(classes); } | getClasses |
58,223 | Set<String> () { return unmodifiablePathSet(sources); } | getSources |
58,224 | Set<String> () { return unmodifiablePathSet(javadoc); } | getJavadoc |
58,225 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ClasspathEntryModelImpl model = (ClasspathEntryModelImpl)o; if (!classes.equals(model.classes)) return false; if (!sources.equals(model.sources)) return false; if (!javadoc.equals(model.javadoc)) return false; re... | equals |
58,226 | int () { int result = classes.hashCode(); result = 31 * result + sources.hashCode(); result = 31 * result + javadoc.hashCode(); return result; } | hashCode |
58,227 | File () { return myDirectory; } | getDirectory |
58,228 | boolean () { return myGenerated; } | isGenerated |
58,229 | Collection<String> () { return GradleContainerUtil.unmodifiablePathSet(myPaths); } | getAnnotationProcessorPath |
58,230 | Collection<String> () { return myArgs; } | getAnnotationProcessorArguments |
58,231 | boolean () { return isTestSources; } | isTestSources |
58,232 | String () { return myProcessorOutput; } | getProcessorOutput |
58,233 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; AnnotationProcessingConfigImpl config = (AnnotationProcessingConfigImpl)o; return isTestSources == config.isTestSources && Objects.equal(myProcessorOutput, config.myProcessorOutput) && Objects.equal(myPaths, conf... | equals |
58,234 | int () { return Objects.hashCode(myPaths, myArgs, myProcessorOutput, isTestSources); } | hashCode |
58,235 | void (MavenRepositoryModel model) { myRepositories.add(model); } | add |
58,236 | Collection<MavenRepositoryModel> () { return Collections.unmodifiableSet(myRepositories); } | getAll |
58,237 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; RepositoriesModelImpl model = (RepositoriesModelImpl)o; if (!myRepositories.equals(model.myRepositories)) return false; return true; } | equals |
58,238 | int () { return myRepositories.hashCode(); } | hashCode |
58,239 | AnnotationProcessingConfig (@NotNull String sourceSetName) { return configs.get(sourceSetName); } | bySourceSetName |
58,240 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; AnnotationProcessingModelImpl model = (AnnotationProcessingModelImpl)o; return Objects.equal(configs, model.configs); } | equals |
58,241 | int () { return Objects.hashCode(configs); } | hashCode |
58,242 | String () { return myName; } | getName |
58,243 | String () { return myUrl; } | getUrl |
58,244 | boolean (Object o) { if (this == o) return true; if (!(o instanceof MavenRepositoryModelImpl)) return false; MavenRepositoryModelImpl model = (MavenRepositoryModelImpl)o; if (!Objects.equals(myName, model.myName)) return false; if (!Objects.equals(myUrl, model.myUrl)) return false; return true; } | equals |
58,245 | int () { int result = myName != null ? myName.hashCode() : 0; result = 31 * result + (myUrl != null ? myUrl.hashCode() : 0); return result; } | hashCode |
58,246 | void (@Nullable File file) { gradleHomeDir = file; } | setGradleHomeDir |
58,247 | File () { return gradleHomeDir; } | getGradleHomeDir |
58,248 | void (@NotNull ClasspathEntryModel classpathEntryModel) { myClasspathEntries.add(classpathEntryModel); } | add |
58,249 | void (@NotNull String gradleVersion) { myGradleVersion = gradleVersion; } | setGradleVersion |
58,250 | String () { return myGradleVersion; } | getGradleVersion |
58,251 | boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BuildScriptClasspathModelImpl other = (BuildScriptClasspathModelImpl)o; if (!myClasspathEntries.equals(other.myClasspathEntries)) return false; if (gradleHomeDir == null && other.gradleHomeDir != null || gradleHo... | equals |
58,252 | int () { int result = myClasspathEntries.hashCode(); result = 31 * result + (gradleHomeDir != null ? gradleHomeDir.hashCode() : 0); result = 31 * result + (myGradleVersion != null ? myGradleVersion.hashCode() : 0); return result; } | hashCode |
58,253 | Collection<ExternalDependency> () { return myDeployDependencies; } | getDeployDependencies |
58,254 | Collection<ExternalDependency> () { return myEarlibDependencies; } | getEarlibDependencies |
58,255 | String () { return myEarName; } | getEarName |
58,256 | File () { return myArchivePath; } | getArchivePath |
58,257 | void (File artifactFile) { myArchivePath = artifactFile; } | setArchivePath |
58,258 | String () { return myAppDirName; } | getAppDirName |
58,259 | String () { return myLibDirName; } | getLibDirName |
58,260 | void (List<EarConfiguration.EarResource> earResources) { myEarResources = earResources; } | setResources |
58,261 | void (String manifestContent) { myManifestContent = manifestContent; } | setManifestContent |
58,262 | String () { return myManifestContent; } | getManifestContent |
58,263 | String () { return myDeploymentDescriptor; } | getDeploymentDescriptor |
58,264 | void (String deploymentDescriptor) { myDeploymentDescriptor = deploymentDescriptor; } | setDeploymentDescriptor |
58,265 | String () { return myEarDirectory; } | getEarDirectory |
58,266 | String () { return myRelativePath; } | getRelativePath |
58,267 | File () { return file; } | getFile |
58,268 | boolean (Object o) { if (this == o) return true; if (!(o instanceof EarResourceImpl)) return false; EarResourceImpl resource = (EarResourceImpl)o; if (!file.getPath().equals(resource.file.getPath())) return false; if (!myEarDirectory.equals(resource.myEarDirectory)) return false; if (!myRelativePath.equals(resource.myR... | equals |
58,269 | int () { int result = myEarDirectory.hashCode(); result = 31 * result + myRelativePath.hashCode(); result = 31 * result + file.getPath().hashCode(); return result; } | hashCode |
58,270 | String () { return "EarResource{" + "earDirectory=" + myEarDirectory + ", warRelativePath='" + myRelativePath + '\'' + ", file=" + file + '}'; } | toString |
58,271 | Set<File> () { return scalaClasspath; } | getScalaClasspath |
58,272 | void (Set<File> scalaClasspath) { this.scalaClasspath = scalaClasspath; } | setScalaClasspath |
58,273 | Set<File> () { return zincClasspath; } | getZincClasspath |
58,274 | void (Set<File> zincClasspath) { this.zincClasspath = zincClasspath; } | setZincClasspath |
58,275 | ScalaCompileOptions () { return scalaCompileOptions; } | getScalaCompileOptions |
58,276 | void (ScalaCompileOptionsImpl scalaCompileOptions) { this.scalaCompileOptions = scalaCompileOptions; } | setScalaCompileOptions |
58,277 | String () { return sourceCompatibility; } | getSourceCompatibility |
58,278 | void (String sourceCompatibility) { this.sourceCompatibility = sourceCompatibility; } | setSourceCompatibility |
58,279 | String () { return targetCompatibility; } | getTargetCompatibility |
58,280 | void (String targetCompatibility) { this.targetCompatibility = targetCompatibility; } | setTargetCompatibility |
58,281 | String () { return memoryInitialSize; } | getMemoryInitialSize |
58,282 | void (String memoryInitialSize) { this.memoryInitialSize = memoryInitialSize; } | setMemoryInitialSize |
58,283 | String () { return memoryMaximumSize; } | getMemoryMaximumSize |
58,284 | void (String memoryMaximumSize) { this.memoryMaximumSize = memoryMaximumSize; } | setMemoryMaximumSize |
58,285 | List<String> () { return jvmArgs; } | getJvmArgs |
58,286 | void (List<String> jvmArgs) { this.jvmArgs = jvmArgs; } | setJvmArgs |
58,287 | boolean () { return useCompileDaemon; } | isUseCompileDaemon |
58,288 | void (boolean useCompileDaemon) { this.useCompileDaemon = useCompileDaemon; } | setUseCompileDaemon |
58,289 | String () { return daemonServer; } | getDaemonServer |
58,290 | void (String daemonServer) { this.daemonServer = daemonServer; } | setDaemonServer |
58,291 | boolean () { return failOnError; } | isFailOnError |
58,292 | void (boolean failOnError) { this.failOnError = failOnError; } | setFailOnError |
58,293 | boolean () { return deprecation; } | isDeprecation |
58,294 | void (boolean deprecation) { this.deprecation = deprecation; } | setDeprecation |
58,295 | boolean () { return unchecked; } | isUnchecked |
58,296 | void (boolean unchecked) { this.unchecked = unchecked; } | setUnchecked |
58,297 | String () { return debugLevel; } | getDebugLevel |
58,298 | void (String debugLevel) { this.debugLevel = debugLevel; } | setDebugLevel |
58,299 | boolean () { return optimize; } | isOptimize |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.