- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for returns (0.18 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
return isIncubatingField((JApiField) member) } if (member instanceof JApiConstructor) { return isIncubatingConstructor((JApiConstructor) member) } return isAnnotatedWithIncubating(member) } private static boolean isIncubatingClass(JApiClass clazz) { return isAnnotatedWithIncubating(clazz) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 10.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
* * @param data the report data containing a description to parse * @return accepted api changes reported upon, as a file */ private static File getAcceptedApiChangesFile(RichReportData data) { def matcher = data.description =~ acceptedChangesRegex return new File(matcher[0][1]) } private static RichReportData enrichReport(RichReportData data) {
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 07 20:38:43 GMT 2023 - 7.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
workerLeaseService.runAsIsolatedTask({ source.visit { FileVisitDetails fvd -> if (fvd.isDirectory()) { return } if (!fvd.getFile().getName().endsWith(".xml")) { return } String newFileName = fvd.file.name.replaceAll('.xml$', '.html')
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 4.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
} leftShift(element, cl) } public static def leftShift(Node parent, Closure cl) { DomBuilder builder = new DomBuilder(parent) cl.delegate = builder cl.call() return builder.elements[0] } public static void leftShift(Node parent, Node node) { parent.appendChild(parent.ownerDocument.importNode(node, true)) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Aug 11 15:32:19 GMT 2022 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
def value TestDomainObject(String value) { this.value = value } @Override boolean equals(Object o) { return o.value == value } @Override int hashCode() { return value.hashCode() } void attach(ClassMetaDataRepository<TestDomainObject> repository) { }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Sat Apr 06 02:21:33 GMT 2024 - 3.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
changes.add(modifierChangeDetail("infix", newIsInfix)) } return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change")) } return null } private static String modifierChangeDetail(String modifier, boolean added) { return "$modifier modifier was ${added ? "added" : "removed"}" }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
newInterfaces.keySet().removeAll(oldInterfaces.keySet()) if (newInterfaces.isEmpty()) { return null } List<String> changes = filterChangesToReport(newClass, newInterfaces) if (changes.isEmpty()) { return null } return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces")) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
return false } } // I'm the top public class which contains target method return true } private boolean containsMethod(CtClass c, CtMethod method) { // TODO signature contains return type // but return type can be overridden
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy
} @Override protected boolean changed(JApiCompatibility member) { return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty } @Override protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) { return acceptOrReject(apiClass.superclass, Violation.notBinaryCompatible(apiClass.superclass)) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 1.8K bytes - Viewed (0)