Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 594 for instantiation (0.15 sec)

  1. platforms/software/platform-base/src/main/java/org/gradle/language/base/sources/BaseLanguageSourceSet.java

            this.objectFactory = info.objectFactory;
        }
    
        private static SourceSetInfo validate(SourceSetInfo info) {
            if (info == null) {
                throw new ModelInstantiationException("Direct instantiation of a BaseLanguageSourceSet is not permitted. Use a @ComponentType rule instead.");
            }
            return info;
        }
    
        private static class SourceSetInfo {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/main/java/org/gradle/api/plugins/internal/JavaPluginHelper.java

     * and thus avoids adding these methods to the public API.
     */
    public class JavaPluginHelper {
    
        private JavaPluginHelper() {
            // Private to prevent instantiation.
        }
    
        /**
         * Gets the main Java component. This method assumes the Java plugin is applied.
         *
         * @throws GradleException If the {@code java} component does not exist.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 13:16:07 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/ImplicitInputsCapturingInstantiator.java

    import org.gradle.api.NonNullApi;
    import org.gradle.api.reflect.ObjectInstantiationException;
    import org.gradle.internal.Cast;
    import org.gradle.internal.Factory;
    import org.gradle.internal.instantiation.InstantiatorFactory;
    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.internal.service.ServiceLookupException;
    import org.gradle.internal.service.ServiceRegistry;
    import org.gradle.internal.service.UnknownServiceException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:08:22 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. src/go/types/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.Orig)
    		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: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/context_test.go

    		params := NewTuple(NewVar(nopos, nil, "_", tparam))
    		unaryP = NewSignatureType(nil, nil, []*TypeParam{tparam}, params, nil, false)
    	}
    
    	ctxt := NewContext()
    
    	// Update the context with an instantiation of nullaryP.
    	inst := NewSignatureType(nil, nil, nil, nil, nil, false)
    	if got := ctxt.update("", nullaryP, []Type{Typ[Int]}, inst); got != inst {
    		t.Error("bad")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 17 04:32:02 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultMavenLocalArtifactRepository.java

    import org.gradle.internal.component.external.model.maven.MutableMavenModuleResolveMetadata;
    import org.gradle.internal.hash.ChecksumService;
    import org.gradle.internal.instantiation.InstantiatorFactory;
    import org.gradle.internal.isolation.IsolatableFactory;
    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.internal.resolve.result.DefaultResourceAwareResolveResult;
    import org.gradle.internal.resource.local.FileResourceRepository;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/JavaClassUtil.java

     * Utility class which operates directly on Java class files.
     */
    public class JavaClassUtil {
    
        private static final int MAGIC_BYTES = 0xCAFEBABE;
    
        private JavaClassUtil() {
            // Private to prevent instantiation.
        }
    
        /**
         * Get the class file major version from the provided {@code file}.
         *
         * @throws IOException If the file does not exist or is malformed.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/validtype.go

    				// occur within the definition (RHS) of the generic type t.Origin(),
    				// directly or indirectly, after expansion of the RHS.
    				// Therefore t.Origin() must be invalid, no matter how it is
    				// instantiated since the instantiation t of t.Origin() happens
    				// inside t.Origin()'s RHS and thus is always the same and always
    				// present.
    				// Therefore we can mark the underlying of both t and t.Origin()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 13:22:37 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/go/types/validtype.go

    				// occur within the definition (RHS) of the generic type t.Origin(),
    				// directly or indirectly, after expansion of the RHS.
    				// Therefore t.Origin() must be invalid, no matter how it is
    				// instantiated since the instantiation t of t.Origin() happens
    				// inside t.Origin()'s RHS and thus is always the same and always
    				// present.
    				// Therefore we can mark the underlying of both t and t.Origin()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. 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)
Back to top