Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AllMethods (0.15 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/MethodCache.kt

        allMethods().firstAccessibleMatchingMethodOrNull(predicate)
    
    
    internal
    fun Iterable<Method>.firstAccessibleMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? =
        find(predicate)?.apply { isAccessible = true }
    
    
    internal
    fun Class<*>.firstMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? =
        allMethods().find(predicate)
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/StructSchemaExtractionStrategySupport.java

            Set<Method> nonPropertyMethods = Sets.newLinkedHashSet(Iterables.transform(candidateMethods.allMethods().keySet(), new Function<Wrapper<Method>, Method>() {
                @Override
                public Method apply(Wrapper<Method> method) {
                    return method.get();
                }
            }));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaSerializationEncodingLookup.kt

            return encodings.computeIfAbsent(type) { t -> calculateEncoding(t) }.encoding
        }
    
        private
        fun calculateEncoding(type: Class<*>): EncodingDetails {
            val candidates = type.allMethods()
            val encoding = writeReplaceEncodingFor(candidates)
                ?: readResolveEncodingFor(candidates)
                ?: writeObjectEncodingFor(candidates)
                ?: readObjectEncodingFor(candidates)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top