Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 594 for instantiation (0.24 sec)

  1. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/component/BaseComponentSpecTest.groovy

        def "cannot instantiate directly"() {
            when:
            new BaseComponentSpec() {}
    
            then:
            def e = thrown ModelInstantiationException
            e.message == "Direct instantiation of a BaseComponentSpec is not permitted. Use a @ComponentType rule instead."
        }
    
        private <T extends ComponentSpec, I extends BaseComponentSpec> T create(Class<T> publicType, Class<I> implType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/index.go

    		return false
    
    	case typexpr:
    		// type instantiation
    		x.mode = invalid
    		// TODO(gri) here we re-evaluate e.X - try to avoid this
    		x.typ = check.varType(e)
    		if isValid(x.typ) {
    			x.mode = typexpr
    		}
    		return false
    
    	case value:
    		if sig, _ := under(x.typ).(*Signature); sig != nil && sig.TypeParams().Len() > 0 {
    			// function instantiation
    			return true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/InjectUtil.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.instantiation.generator;
    
    import org.gradle.internal.logging.text.TreeFormatter;
    
    import javax.inject.Inject;
    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.List;
    
    class InjectUtil {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java

    import org.gradle.internal.build.ExecutionResult;
    import org.gradle.internal.event.ListenerManager;
    import org.gradle.internal.instantiation.InstantiatorFactory;
    import org.gradle.internal.isolated.IsolationScheme;
    import org.gradle.internal.isolation.IsolatableFactory;
    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.internal.resources.ResourceLock;
    import org.gradle.internal.resources.SharedResource;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:45 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/AbstractPolymorphicDomainObjectContainer.java

        protected AbstractPolymorphicDomainObjectContainer(Class<T> type, Instantiator instantiator, Namer<? super T> namer, CollectionCallbackActionDecorator callbackDecorator) {
            super(type, instantiator, namer, callbackDecorator);
        }
    
        protected abstract <U extends T> U doCreate(String name, Class<U> type);
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 10:01:06 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/properties/InspectionSchemeFactoryTest.groovy

    import org.gradle.api.internal.DocumentationRegistry
    import org.gradle.api.provider.Property
    import org.gradle.cache.internal.TestCrossBuildInMemoryCacheFactory
    import org.gradle.internal.instantiation.InstantiationScheme
    import org.gradle.internal.properties.annotations.PropertyAnnotationHandler
    import org.gradle.internal.reflect.DefaultTypeValidationContext
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:13:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/service/scopes/WorkerSharedProjectScopeServices.java

            return instantiator.newInstance(DefaultFileSystemOperations.class, objectFactory, fileOperations);
        }
    
        @Provides
        protected ArchiveOperations createArchiveOperations(Instantiator instantiator, FileOperations fileOperations) {
            return instantiator.newInstance(DefaultArchiveOperations.class, fileOperations);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/named.go

    //  - We say that a Named type is "instantiated" if it has been constructed by
    //    instantiating a generic named type with type arguments.
    //  - We say that a Named type is "declared" if it corresponds to a type
    //    declaration in the source. Instantiated named types correspond to a type
    //    instantiation in the source, not a declaration. But their Origin type is
    //    a declared type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGlobalServices.java

    import org.gradle.internal.execution.model.annotations.ModifierAnnotationCategory;
    import org.gradle.internal.execution.model.annotations.ServiceReferencePropertyAnnotationHandler;
    import org.gradle.internal.instantiation.InstantiationScheme;
    import org.gradle.internal.instantiation.InstantiatorFactory;
    import org.gradle.internal.operations.BuildOperationAncestryTracker;
    import org.gradle.internal.operations.BuildOperationListenerManager;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/DependencyGraphResolver.java

    import org.gradle.internal.component.external.model.ModuleComponentGraphResolveStateFactory;
    import org.gradle.internal.component.model.DependencyMetadata;
    import org.gradle.internal.instantiation.InstantiatorFactory;
    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.internal.resolve.resolver.ComponentMetaDataResolver;
    import org.gradle.internal.resolve.resolver.DependencyToComponentIdResolver;
    
    import javax.inject.Inject;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:35 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top