Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isPublicApi (0.16 sec)

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

        private void collect(Set<CtMethod> result, CtClass c) {
            if (c == null) {
                return
            }
    
            result.addAll(c.declaredMethods.findAll { isPublicApi(it) })
    
            collect(result, c.superclass)
        }
    
        private boolean isPublicApi(CtMethod method) {
            return Modifier.isPublic(method.modifiers) || Modifier.isProtected(method.modifiers)
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top