Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for toRType (0.13 sec)

  1. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/artifact/MavenArtifactNotationParserFactory.java

            ProviderNotationConverter providerNotationConverter = new ProviderNotationConverter();
    
            NotationParser<Object, MavenArtifact> sourceNotationParser = NotationParserBuilder
                .toType(MavenArtifact.class)
                .fromType(Provider.class, Cast.uncheckedCast(providerNotationConverter))
                .fromType(AbstractArchiveTask.class, archiveTaskNotationConverter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/IvyArtifactNotationParserFactory.java

            ProviderNotationConverter providerNotationConverter = new ProviderNotationConverter();
    
            NotationParser<Object, IvyArtifact> sourceNotationParser = NotationParserBuilder
                    .toType(IvyArtifact.class)
                    .fromType(Provider.class, Cast.uncheckedCast(providerNotationConverter))
                    .converter(archiveTaskNotationConverter)
                    .converter(publishArtifactNotationConverter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/ModuleIdentifierNotationConverterTest.groovy

        final ImmutableModuleIdentifierFactory moduleIdentifierFactory = Mock() {
            module(_, _) >> { args ->
                DefaultModuleIdentifier.newId(*args)
            }
        }
        @Subject parser = NotationParserBuilder.toType(ModuleIdentifier).fromCharSequence(new ModuleIdentifierNotationConverter(moduleIdentifierFactory)).toComposite()
    
        def "parses module identifier notation"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ProjectDependencyFactory.java

            this.factory = factory;
        }
    
        public ProjectDependency createFromMap(ProjectFinder projectFinder, Map<? extends String, ?> map) {
            return NotationParserBuilder.toType(ProjectDependency.class)
                    .converter(new ProjectDependencyMapNotationConverter(projectFinder, factory)).toComposite().parseNotation(map);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/typeconversion/DefaultTypeConverter.java

        private static <T> NotationParser<Object, T> build(NotationConverter<Object, T> converter, Class<T> type) {
            return NotationParserBuilder
                .toType(type)
                .noImplicitConverters()
                .converter(converter)
                .toComposite();
        }
    
        private <T> void registerConverter(NotationConverter<Object, T> converter, Class<T> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/PathNotationConverter.java

            visitor.candidate("A Provider that provides any supported value.");
        }
    
        public static NotationParser<Object, String> parser() {
            return NotationParserBuilder
                    .toType(String.class)
                    .noImplicitConverters()
                    .allowNullInput()
                    .converter(new PathNotationConverter())
                    .toComposite();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ComponentModuleMetadataContainer.java

        }
    
        private static NotationParser<Object, ModuleIdentifier> parser(ImmutableModuleIdentifierFactory moduleIdentifierFactory) {
            return NotationParserBuilder
                    .toType(ModuleIdentifier.class)
                    .fromCharSequence(new ModuleIdentifierNotationConverter(moduleIdentifierFactory))
                    .toComposite();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ComponentIdentifierParserFactory.java

        @Nullable
        @Override
        public NotationParser<Object, ComponentIdentifier> create() {
            return NotationParserBuilder.toType(ComponentIdentifier.class)
                .fromCharSequence(new StringNotationConverter())
                .converter(new ComponentIdentifierMapNotationConverter())
                .toComposite();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyClassPathNotationConverterTest.groovy

            GRADLE_API      | "Gradle API"
            GRADLE_TEST_KIT | "Gradle TestKit"
            LOCAL_GROOVY    | "Local Groovy"
        }
    
        def parse(def value) {
            return NotationParserBuilder.toType(Dependency).fromType(DependencyFactoryInternal.ClassPathNotation, factory).toComposite().parseNotation(value)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/internal/reflectlite/export_test.go

    }
    
    // Field returns the i'th struct field.
    func StructFieldType(t *structType, i int) Type {
    	if i < 0 || i >= len(t.Fields) {
    		panic("reflect: Field index out of bounds")
    	}
    	p := &t.Fields[i]
    	return toType(p.Typ)
    }
    
    // Zero returns a Value representing the zero value for the specified type.
    // The result is different from the zero value of the Value struct,
    // which represents no value at all.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top