Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ModelPathSuggestionProvider (0.36 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelPathSuggestionProvider.java

    import org.gradle.model.internal.core.ModelPath;
    import org.gradle.util.internal.CollectionUtils;
    
    import javax.annotation.concurrent.ThreadSafe;
    import java.util.List;
    
    @ThreadSafe
    class ModelPathSuggestionProvider implements Transformer<List<ModelPath>, ModelPath> {
    
        private static final Predicate<Suggestion> REMOVE_NULLS = new Predicate<Suggestion>() {
            @Override
            public boolean apply(Suggestion input) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelPathSuggestionProviderTest.groovy

    import spock.lang.Specification
    
    class ModelPathSuggestionProviderTest extends Specification {
    
        List<String> availablePaths
    
        List<String> suggestionsFor(String path) {
            new ModelPathSuggestionProvider(availablePaths.collect { new ModelPath(it) }).transform(new ModelPath(path))*.toString()
        }
    
        def "suggests model paths with Levenshtein distance lower than 4"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

                throw unbound(sortedBinders);
            }
        }
    
        private UnboundModelRulesException unbound(Iterable<? extends RuleBinder> binders) {
            ModelPathSuggestionProvider suggestionsProvider = new ModelPathSuggestionProvider(modelGraph.getFlattened().keySet());
            List<? extends UnboundRule> unboundRules = new UnboundRulesProcessor(binders, suggestionsProvider).process();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.model.internal.registry.ModelPathSuggestionProvider$1> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelPathSuggestionProvider.java:0)
    Class <org.gradle.model.internal.registry.ModelPathSuggestionProvider$2> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelPathSuggestionProvider.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top