- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for isIncubating (0.07 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
} private boolean addedInterfaceIsIncubatingOrInternal(CtClass interf, CtClass c) { return (isIncubating(interf) && !isIncubating(c)) || isInternal(interf) } private boolean isIncubating(CtClass c) { return c.annotations.any { it.annotationType().name == 'org.gradle.api.Incubating' } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.8K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
.forEach { (version, incubating) -> versionsToIncubating.getOrPut(version) { mutableSetOf() }.add(incubating) } } return versionsToIncubating } private fun CompilationUnit.findAllIncubating() = findAll(Node::class.java).filter { it.isIncubating } private val Node.isIncubating: Boolean
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 12.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java
if (!isIncubating((JApiHasAnnotations) member)) { return null; } if (member instanceof JApiMethod && isOverride((JApiMethod) member)) { return null; } return Violation.info(member, "New public API in " + getCurrentVersion() + " (@Incubating)"); } return null; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 1.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java
if (!isIncubating((JApiHasAnnotations) member) && !isInject((JApiHasAnnotations) member)) { return violationError(member); } } return null; } private Violation violationError(JApiCompatibility member) { return acceptOrReject(member, Violation.error(member, "Is not annotated with @Incubating")); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 1.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
return null; } } if (member instanceof JApiHasAnnotations) { if (isIncubating((JApiHasAnnotations) member)) { return Violation.warning(member, "Changed public API (@Incubating)"); } } return acceptOrReject(member, Violation.notBinaryCompatible(member)); } return null; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 3.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
} protected static boolean isInject(JApiHasAnnotations member) { return isAnnotatedWithInject(member) } protected boolean isIncubating(JApiHasAnnotations member) { if (member instanceof JApiClass) { return isIncubatingClass((JApiClass) member) } if (member instanceof JApiMethod) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:30:48 UTC 2024 - 10.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
import org.gradle.api.Incubating class IncubatingInternalInterfaceAddedRuleTest extends AbstractContextAwareRuleSpecification { IncubatingInternalInterfaceAddedRule rule static class OldSuper {} static class OldBase extends OldSuper {} static class NewSuper {} static class NewBase extends NewSuper {} @Incubating static class NewIncubatingBase extends NewSuper {}
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
v2 = """ /** @since 2.0 */ @Incubating interface Foo /** @since 2.0 */ @Incubating class Bar /** @since 2.0 */ @Incubating enum class Bazar /** @since 2.0 */ @Incubating object Cathedral """ ) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 12.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
import me.champeau.gradle.japicmp.report.AbstractContextAwareViolationRule import me.champeau.gradle.japicmp.report.Severity import me.champeau.gradle.japicmp.report.ViolationCheckContext import org.gradle.api.Incubating import spock.lang.Specification import spock.lang.TempDir import javax.inject.Inject class PublicAPIRulesTest extends Specification { private final static String TEST_INTERFACE_NAME = 'org.gradle.api.ApiTest'
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Dec 01 20:12:19 UTC 2023 - 16K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy
"member": "Implemented interface org.gradle.api.initialization.IncludedBuild", "changes": ["Interface has been removed"], "acceptation": "@Incubating interface has been removed" } ] } """]) then: changes.acceptedChanges.size() == 1
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 3.8K bytes - Viewed (0)