Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for couldn (0.19 sec)

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

            }
    
            Optional<CtClass> oldClass = member.oldClass
            Optional<CtClass> newClass = member.newClass
            if (!oldClass.isPresent() || !newClass.isPresent()) {
                // breaking change would be reported
                return null
            }
    
            return checkSuperClassChanges(member, oldClass.get(), newClass.get())
        }
    
        protected abstract boolean changed(JApiCompatibility member)
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

            then:
            violation.humanExplanation.contains('SuperInternal.publicMethod()')
            !violation.humanExplanation.contains('SuperInternal.privateMethod()')
        }
    
        def "method removal would not be reported if current class is not first public class"() {
            given:
            apiClass.oldClass >> Optional.of(classes['OldSub'])
            apiClass.newClass >> Optional.of(classes['NewSub'])
    
            expect:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            apiClass.newClass >> Optional.of(newIncubatingBase)
            newSuper.addInterface(incubatingInterface)
    
            expect:
            noViolation(rule)
        }
    
        def "adding an #type interface to super class would not be reported"() {
            given:
            newSuper.addInterface(interfaces[type])
    
            expect:
            noViolation(rule)
    
            where:
            type << ['internal', 'incubating']
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

                current = classesContainingMethod.get(i)
                if (!isInternal(current)) {
                    // there's another public super class which contains target method
                    // it would be reported somewhere else
                    return false
                }
            }
    
            // I'm the top public class which contains target method
            return true
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
            } catch (Exception e) {
                throw new DocGenerationException("Could not parse '$sourceFile'.", e)
            }
        }
    
        def fullyQualifyAllTypeNames(gradlebuild.docs.dsl.source.model.ClassMetaData classMetaData, TypeNameResolver resolver) {
            try {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

                    return doc
                } catch (ClassDocGenerationException e) {
                    throw e
                } catch (Exception e) {
                    throw new ClassDocGenerationException("Could not load the class documentation for class '$className'.", e)
                }
            } finally {
                currentlyBuilding.removeLast()
            }
        }
    
        private File getFileForClass(String className) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
Back to top