Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 594 for instantiation (0.22 sec)

  1. src/go/types/call.go

    		}
    	}).describef(atPos(pos), "verify instantiation")
    
    	return inst
    }
    
    func (check *Checker) callExpr(x *operand, call *ast.CallExpr) exprKind {
    	ix := typeparams.UnpackIndexExpr(call.Fun)
    	if ix != nil {
    		if check.indexExpr(x, ix) {
    			// Delay function instantiation to argument checking,
    			// where we combine type and value arguments for type
    			// inference.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsCommonTest.groovy

            serviceRegistryFactory = Mock(ServiceRegistryFactory) {
                1 * createFor(_) >> settingsServices
            }
    
            def instantiator = TestUtil.instantiatorFactory().decorateLenient()
            settings = instantiator.newInstance(DefaultSettings, serviceRegistryFactory,
                gradleMock, classLoaderScope, rootClassLoaderScope, settingsScriptHandler,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 01 18:57:54 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/PropertyRoleAnnotationHandler.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;
    
    import org.gradle.internal.state.ModelObject;
    
    import java.lang.annotation.Annotation;
    import java.util.Set;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/AbstractTypeScheme.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.properties;
    
    import org.gradle.internal.instantiation.InstantiationScheme;
    import org.gradle.internal.properties.annotations.TypeMetadataStore;
    
    abstract public class AbstractTypeScheme implements TypeScheme {
    
        protected final InstantiationScheme instantiationScheme;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/FactoryNamedDomainObjectContainerSpec.groovy

    import org.gradle.api.reflect.ObjectInstantiationException
    import org.gradle.internal.reflect.Instantiator
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class FactoryNamedDomainObjectContainerSpec extends Specification {
        final NamedDomainObjectFactory<String> factory = Mock()
        final Instantiator instantiator = TestUtil.instantiatorFactory().decorateLenient()
        final namer = { it } as Namer
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 26 05:36:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/callee.go

    //
    // Functions and methods may potentially have type parameters.
    func Callee(info *types.Info, call *ast.CallExpr) types.Object {
    	fun := astutil.Unparen(call.Fun)
    
    	// Look through type instantiation if necessary.
    	isInstance := false
    	switch fun.(type) {
    	case *ast.IndexExpr, *ast.IndexListExpr:
    		// When extracting the callee from an *IndexExpr, we need to check that
    		// it is a *types.Func and not a *types.Var.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

    /**
     * Extension point that allows build extensions observe and possibly veto mojo executions.
     * <p>
     * Unlike {@link org.apache.maven.execution.MojoExecutionListener}, this extension point does not
     * trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution
     * scoped components.
     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/InstantiatorFactory.java

    import java.util.Collection;
    
    /**
     * Provides various mechanisms for instantiation of objects.
     *
     * <p>A service of this type is available in all scopes and is the recommended way to obtain an {@link Instantiator} and other types.</p>
     */
    @ServiceScope(Scope.Global.class)
    public interface InstantiatorFactory {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/ConstructorComparatorTest.groovy

     * 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 spock.lang.Specification
    
    class ConstructorComparatorTest extends Specification {
        def comparator = new ConstructorComparator()
    
        def "constructors with fewer parameters are first"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/collections.adoc

    5. <<extensiblepolymorphicdomainobjectcontainer,`ExtensiblePolymorphicDomainObjectContainer<T>`>>: An extension of `NamedDomainObjectContainer` that allows you to define instantiation strategies for different types of objects. This is useful when you have a container that can hold multiple types of objects, and you want to control how each type of object is instantiated.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top