Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 987 for typeOf (0.11 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/plugins/DslObject.java

        public Class<?> getDeclaredType() {
            return getPublicType().getConcreteClass();
        }
    
        public TypeOf<Object> getPublicType() {
            if (object instanceof HasPublicType) {
                return uncheckedCast(((HasPublicType) object).getPublicType());
            }
            return TypeOf.<Object>typeOf(GeneratedSubclasses.unpackType(object));
        }
    
        public Class<?> getImplementationType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionsSchema.java

             *
             * @return the name of the extension
             */
            @Override
            String getName();
    
            /**
             * The public type of the extension.
             *
             * @return the public type of the extension
             */
            @Override
            TypeOf<?> getPublicType();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:20 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaProvider.kt

    import org.gradle.api.reflect.TypeOf
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import org.gradle.kotlin.dsl.*
    import java.io.Serializable
    
    
    @ServiceScope(Scope.UserHome::class)
    interface ProjectSchemaProvider {
    
        fun schemaFor(scriptTarget: Any): TypedProjectSchema?
    }
    
    
    data class SchemaType(val value: TypeOf<*>) {
    
        companion object {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/internal/tasks/DefaultGroovySourceSetTest.groovy

    import org.gradle.util.TestUtil
    import org.gradle.util.internal.CollectionUtils
    import org.junit.Rule
    import spock.lang.Specification
    
    import static org.gradle.api.reflect.TypeOf.typeOf
    
    class DefaultGroovySourceSetTest extends Specification {
    
        @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionContainer.java

         *
         * @param type extension type
         * @return extension or null
         */
        @Nullable
        <T> T findByType(Class<T> type);
    
        /**
         * Looks for the extension of a given type (useful to avoid casting). If none found null is returned.
         *
         * @param type extension type
         * @return extension or null
         * @since 3.5
         */
        @Nullable
        <T> T findByType(TypeOf<T> type);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:20 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/form-validator/brazil.js

     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionAwareExtensions.kt

    
    /**
     * Returns the extension of the specified type.
     *
     * @param T the extension type.
     */
    inline fun <reified T : Any> ExtensionAware.the(): T =
        extensions.getByType(typeOf<T>())
    
    
    /**
     * Returns the extension of the specified [extensionType].
     *
     * @param T the extension type.
     * @param extensionType the reified extension type.
     */
    fun <T : Any> ExtensionAware.the(extensionType: KClass<T>): T =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/testing/fuzz.go

    	reflect.TypeOf(([]byte)("")):  true,
    	reflect.TypeOf((string)("")):  true,
    	reflect.TypeOf((bool)(false)): true,
    	reflect.TypeOf((byte)(0)):     true,
    	reflect.TypeOf((rune)(0)):     true,
    	reflect.TypeOf((float32)(0)):  true,
    	reflect.TypeOf((float64)(0)):  true,
    	reflect.TypeOf((int)(0)):      true,
    	reflect.TypeOf((int8)(0)):     true,
    	reflect.TypeOf((int16)(0)):    true,
    	reflect.TypeOf((int32)(0)):    true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/jsconf.js

     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 867 bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/IdeaPluginTest.groovy

    import org.gradle.api.reflect.TypeOf
    import org.gradle.api.tasks.Delete
    import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel
    import org.gradle.plugins.ide.idea.model.IdeaModel
    import org.gradle.test.fixtures.AbstractProjectBuilderSpec
    import org.gradle.util.TestUtil
    import spock.lang.Issue
    
    import static org.gradle.api.reflect.TypeOf.typeOf
    
    class IdeaPluginTest extends AbstractProjectBuilderSpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top