Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for newMethod (0.12 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

            def oldMethod = method.oldMethod.get()
            def newMethod = method.newMethod.get()
    
            def oldIsOperator = metadata.isKotlinOperatorFunction(oldMethod)
            def newIsOperator = metadata.isKotlinOperatorFunction(newMethod)
    
            def oldIsInfix = metadata.isKotlinInfixFunction(oldMethod)
            def newIsInfix = metadata.isKotlinInfixFunction(newMethod)
    
            def operatorChanged = oldIsOperator != newIsOperator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                CtMethod oldMethod = method.oldMethod.get()
                CtMethod newMethod = method.newMethod.get()
    
                inspectParametersNullabilityOf(oldMethod, newMethod)
    
                def oldNullability = hasNullableAnnotation(oldMethod)
                def newNullability = hasNullableAnnotation(newMethod)
    
                if (!oldNullability && newNullability) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileAvoidanceWithBuildCacheServiceIntegrationTest.groovy

        }
    
        void make_abi_breaking_change_on_b() {
            file('b/src/main/java/B.java').text = '''
                public class B {
                    public int truth() { return 42; }
                    public void newMethod() { }
                }
            '''
        }
    
        void project_a_depends_on_project_b() {
            settingsFile << "include 'a', 'b'"
            buildFile << '''
                allprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    import org.jetbrains.kotlin.psi.psiUtil.containingClassOrObject
    
    
    internal
    object KotlinSourceQueries {
    
        fun isOverrideMethod(method: JApiMethod): (KtFile) -> Boolean = { ktFile ->
            val ctMethod = method.newMethod.get()
            ktFile.kotlinDeclarationSatisfies(ctMethod.declaringClass, ctMethod) { ktMember ->
                ktMember.hasModifier(KtTokens.OVERRIDE_KEYWORD)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 20:38:19 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/named.go

    // method receiver is instantiated with its receiver type parameters.
    //
    // Methods are numbered deterministically: given the same list of source files
    // presented to the type checker, or the same sequence of NewMethod and AddMethod
    // calls, the mapping from method index to corresponding method remains the same.
    // But the specific ordering is not specified and must not be relied on as it may
    // change in the future.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/go/types/named.go

    // method receiver is instantiated with its receiver type parameters.
    //
    // Methods are numbered deterministically: given the same list of source files
    // presented to the type checker, or the same sequence of NewMethod and AddMethod
    // calls, the mapping from method index to corresponding method remains the same.
    // But the specific ordering is not specified and must not be relied on as it may
    // change in the future.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultTestSpec.java

        }
    
        @Override
        public TestSpec includeMethods(String clazz, Collection<String> newMethods) {
            List<String> methods = this.methods.get(clazz);
            if (methods == null) {
                methods = new ArrayList<String>(newMethods.size());
                this.methods.put(clazz, methods);
            }
            methods.addAll(newMethods);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            Set<CtMethod> oldMethods = collectAllPublicApiMethods(oldClass.superclass)
            Set<CtMethod> newMethods = collectAllPublicApiMethods(newClass.superclass)
    
            oldMethods.removeAll(newMethods)
    
            if (oldMethods.isEmpty()) {
                return null
            }
    
            List<String> changes = filterChangesToReport(oldClass, oldMethods)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top