Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for foldmethod (0.19 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            }
            JApiMethod jApiMethod = (JApiMethod) jApiCompatibility;
            Map<UpgradedAccessorKey, UpgradedAccessor> oldMethods = context.getUserData(OLD_ACCESSORS_OF_UPGRADED_PROPERTIES);
            UpgradedAccessorKey key = UpgradedAccessorKey.ofOldMethod(jApiMethod);
            return oldMethods.containsKey(key) ? Optional.of(key) : Optional.empty();
        }
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Mon Apr 08 10:20:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

            def metadata = KotlinMetadataQueries.INSTANCE
    
            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)
    
    Groovy
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

            } else if (member instanceof JApiMethod) {
    
                JApiMethod method = (JApiMethod) member
                CtMethod oldMethod = method.oldMethod.get()
                CtMethod newMethod = method.newMethod.get()
    
                inspectParametersNullabilityOf(oldMethod, newMethod)
    
                def oldNullability = oldMethod.annotations.any { isNullableCtAnnotation(it) }
    Groovy
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  4. 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)
            if (changes.isEmpty()) {
                return null
    Groovy
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java

        }
    
        /**
         * A method that returns String.
         */
        String stringMethod(String stringParam) {
            return "value";
        }
    
        /**
         * A method that returns void.
         */
        void voidMethod() {
        }
    
        /**
         * A method that returns a reference type.
         */
        CombinedInterface refTypeMethod(JavaInterface refParam, boolean aFlag) {
            return null;
        }
    
        /**
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 717 bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

            }
    
            MethodMetaData method = findMethod(methodSignature, targetClass);
            if (method == null) {
                return null;
            }
    
            return linkRenderer.link(method, listener);
        }
    
        private MethodMetaData findMethod(String name, ClassMetaData targetClass) {
            List<MethodMetaData> candidates = new ArrayList<MethodMetaData>();
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithMethods.groovy

        }
    
        /**
         * A method that returns String.
         */
        String stringMethod(String stringParam) {
            'value'
        }
    
        /**
         * A method that returns void.
         */
        void voidMethod() {
        }
    
        /**
         * A method that returns a reference type.
         */
        public final CombinedInterface refTypeMethod(JavaInterface someThing, boolean aFlag) {
            null
        }
    
        /**
    Groovy
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 952 bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

            MethodLinkMetaData methodMetaData = findMethod(method);
            String urlFragment = methodMetaData.getUrlFragment(className);
            String displayName = String.format("%s.%s", simpleName, methodMetaData.getDisplayName());
            return new LinkMetaData(methodMetaData.style, displayName, urlFragment);
        }
    
        private MethodLinkMetaData findMethod(String method) {
            if (method.endsWith("...)")) {
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

                String containingType = jApiMethod.getjApiClass().getFullyQualifiedName();
                return new UpgradedAccessorKey(containingType, name, descriptor);
            }
    
            public static UpgradedAccessorKey ofOldMethod(JApiMethod jApiMethod) {
                String name = jApiMethod.getName();
                String descriptor = jApiMethod.getOldMethod().get().getSignature();
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Mon Apr 08 10:20:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return new BadEquals();
        }
    
        // primitive ignored
        public int returnsInt() {
          throw new UnsupportedOperationException();
        }
    
        // void ignored
        public void voidMethod() {
          throw new UnsupportedOperationException();
        }
    
        // non-public method ignored
        static Object badButNotPublic() {
          return new BadEquals();
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top