Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for Unscoped (0.56 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                    } else {
                        inputs.set(i, input.inScope(ModelPath.ROOT));
                    }
                }
            }
    
            private ModelReference<?> mapSubject(ModelReference<?> subject, ModelPath targetPath) {
                if (subject.getPath() == null) {
                    return subject.inScope(targetPath);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelReference.java

        }
    
        public ModelNode.State getState() {
            return state;
        }
    
        public boolean isUntyped() {
            return type.equals(ModelType.UNTYPED);
        }
    
        public ModelReference<T> inScope(ModelPath scope) {
            if (scope.equals(this.scope)) {
                return this;
            }
            return Cast.uncheckedCast(new ModelReference<T>(path, type, scope, state, description));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            projectBuilder = getContainer().lookup(ProjectBuilder.class, "classpath");
        }
    
        @Test
        void testProjectClasspath() throws Exception {
            File f = getFileForClasspathResource(dir + "project-with-scoped-dependencies.xml");
    
            MavenProject project = getProjectWithDependencies(f);
    
            Artifact artifact;
    
            assertNotNull(project, "Test project can't be null!");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

    import static java.util.Collections.singleton;
    import static org.apache.maven.internal.impl.Lifecycles.phase;
    import static org.apache.maven.internal.impl.Lifecycles.plugin;
    
    /**
     * TODO: this is session scoped as SPI can contribute.
     */
    @Named
    @Singleton
    public class DefaultLifecycleRegistry implements LifecycleRegistry {
    
        private final List<LifecycleProvider> providers;
    
        public DefaultLifecycleRegistry() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            Artifact artifact = request.getArtifact();
    
            //
            // If we have a system scoped artifact then we do not want any searching in local or remote repositories
            // and we want artifact resolution to only return the system scoped artifact itself.
            //
            if (artifact.getScope() != null && artifact.getScope().equals(Artifact.SCOPE_SYSTEM)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    // approach. You are expected to fall back to the general approach if this
    // function fails.
    func (enc *Encoder) concreteMethod(meth *types.Func) (Path, bool) {
    	// Concrete methods can only be declared on package-scoped named types. For
    	// that reason we can skip the expensive walk over the package scope: the
    	// path will always be package -> named type -> method. We can trivially get
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	// that if "foo := bar" is unused and removed, we can then detect if
    	// "bar" becomes unused as well.
    	defining *object
    }
    
    // scoped opens a new scope when called, and returns a function which closes
    // that same scope. When a scope is closed, unused variables are recorded.
    func (u *unusedInspector) scoped() func() {
    	outer := u.scope
    	u.scope = &scope{outer: outer, objects: map[string]*object{}}
    	return func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy

        }
    
        def "constructors do not need to be public but do need to be annotated"() {
            expect:
            instantiator.newInstance(HasPrivateConstructor, "param") != null
        }
    
        def "class can be package scoped"() {
            expect:
            instantiator.newInstance(PackageScopedClass) != null
        }
    
        def "selects annotated constructor when class has multiple constructors and only one is annotated"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 04:41:06 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

    - Cannot be a parameterized type."""
        }
    
    
        @Managed
        static abstract class WithInstanceScopedField {
            private String name
            private int age
        }
    
        def "instance scoped fields are not allowed"() {
            when:  extract WithInstanceScopedField
            then: def ex = thrown InvalidManagedTypeException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            // 2) Repository system session-scoped workspace reader (contains ide and exec request reader)
            for (WorkspaceReader repoWorkspaceReader : chainedWorkspaceReader.getReaders()) {
                if (repoWorkspaceReader != null && repoWorkspaceReader != reactorReader) {
                    workspaceReaders.add(repoWorkspaceReader);
                }
            }
            // 3) .. n) Project-scoped workspace readers
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top