- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for jApiMethod (0.18 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
} else if (jApiMethod.getCompatibilityChanges().contains(METHOD_RETURN_TYPE_CHANGED)) { return isCurrentGetterOfUpgradedProperty(jApiMethod, currentAccessors) && isOldGetterOfUpgradedProperty(jApiMethod, oldAccessors); } return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 6.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java
public Violation maybeViolation(final JApiCompatibility member) { if (member instanceof JApiMethod || member instanceof JApiField || member instanceof JApiClass) { if (!isIncubating((JApiHasAnnotations) member)) { return null; } if (member instanceof JApiMethod && isOverride((JApiMethod) member)) { return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 1.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
given: def rule = withContext(new SinceAnnotationMissingRule([:])) def jApiMethod = Stub(JApiMethod) jApiMethod.name >> implicitMethod jApiMethod.jApiClass >> jApiClassifier jApiMethod.parameters >> paramTypes.collect { paramStub(it) } when: sourceFile.text = """ public enum $TEST_INTERFACE_SIMPLE_NAME {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 20:12:19 UTC 2023 - 16K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java
} public static AccessorKey ofNewMethod(JApiMethod jApiMethod) { String name = jApiMethod.getName(); String descriptor = jApiMethod.getNewMethod().get().getSignature(); String containingType = jApiMethod.getjApiClass().getFullyQualifiedName(); return new AccessorKey(containingType, name, descriptor); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 6.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
private fun JApiMethod.isEnumImplicitMethod(): Boolean = isEnumImplicitMethodValues() || isEnumImplicitMethodValueOf() private fun JApiMethod.isEnumImplicitMethodValueOf(): Boolean { return name == "valueOf" && parameters.size == 1 && parameters.first().type == "java.lang.String" } private fun JApiMethod.isEnumImplicitMethodValues(): Boolean {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 20:12:19 UTC 2023 - 6.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
} @Override Violation maybeViolation(JApiCompatibility member) { if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) { return null } JApiMethod method = (JApiMethod) member def metadata = KotlinMetadataQueries.INSTANCE def oldMethod = method.oldMethod.get() def newMethod = method.newMethod.get()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRule.java
} private boolean isInject(JApiCompatibility member) { return member instanceof JApiHasAnnotations && isInject((JApiHasAnnotations) member); } private boolean isOverrideMethod(JApiCompatibility member) { return member instanceof JApiMethod && isOverride((JApiMethod) member); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 21 16:02:23 UTC 2023 - 2.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
JApiConstructor ctor = (JApiConstructor) member inspectParametersNullabilityOf(ctor.oldConstructor.get(), ctor.newConstructor.get()) } else if (member instanceof JApiMethod) { JApiMethod method = (JApiMethod) member CtMethod oldMethod = method.oldMethod.get() CtMethod newMethod = method.newMethod.get() inspectParametersNullabilityOf(oldMethod, newMethod)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 13 10:04:28 UTC 2024 - 5.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
if (member instanceof JApiClass) { return isIncubatingClass((JApiClass) member) } if (member instanceof JApiMethod) { return isIncubatingOrOverrideMethod((JApiMethod) member) } if (member instanceof JApiField) { return isIncubatingField((JApiField) member) } if (member instanceof JApiConstructor) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 10.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
package gradlebuild.binarycompatibility.rules import japicmp.model.JApiChangeStatus import japicmp.model.JApiConstructor import japicmp.model.JApiField import japicmp.model.JApiImplementedInterface import japicmp.model.JApiMethod import japicmp.util.Optional import javassist.CtClass import me.champeau.gradle.japicmp.report.Violation import org.gradle.api.Incubating
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 4K bytes - Viewed (0)