Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for findChangesSince (0.69 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/CurrentCompilation.java

                return DependentsSet.dependencyToAll("classpath data of previous compilation is incomplete");
            }
            ClassSetAnalysis.ClassSetDiff classpathChanges = currentClasspath.findChangesSince(previousClasspath);
            return previous.findDependentsOfClasspathChanges(classpathChanges);
        }
    
        private ClassSetAnalysis getClasspath() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysisTest.groovy

            ClassSetAnalysis s2 = snapshot(["A": TestHashCodes.hashCodeFrom(0xaa), "B": TestHashCodes.hashCodeFrom(0xbbbb)])
    
            expect:
            s1.findChangesSince(s2).dependents.allDependentClasses == ["B"] as Set
            s2.findChangesSince(s1).dependents.allDependentClasses == ["B", "C"] as Set
        }
    
        def "returns empty analysis"() {
            def a = analysis([:])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysis.java

            this.compilerApiData = compilerApiData;
        }
    
        /**
         * Computes the types affected by the changes since some other class set, including transitively affected classes.
         */
        public ClassSetDiff findChangesSince(ClassSetAnalysis other) {
            DependentsSet directChanges = classAnalysis.getChangedClassesSince(other.classAnalysis);
            if (directChanges.isDependencyToAll()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top