Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for jApiConstructor (0.09 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            def annotations = []
            jApiConstructor.annotations >> annotations
    
            when:
            annotations.clear()
    
            then:
            rule.maybeViolation(jApiConstructor).humanExplanation =~ error
    
            when:
            annotations.add(injectAnnotation)
    
            then:
            rule.maybeViolation(jApiConstructor) == null
    
            where:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

     * limitations under the License.
     */
    
    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
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

                    // The changes about the interface's methods will be reported already
                    return null;
                }
                if (member instanceof JApiConstructor) {
                    if (isInject((JApiConstructor) member)) {
                        // We do not consider injecting constructors public API
                        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)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    }
                } else if (oldNullability != newNullability) {
                    errors << "Nullability breaking change"
                }
    
            } else if (member instanceof JApiConstructor) {
    
                JApiConstructor ctor = (JApiConstructor) member
                inspectParametersNullabilityOf(ctor.oldConstructor.get(), ctor.newConstructor.get())
    
            } else if (member instanceof JApiMethod) {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules;
    
    import japicmp.model.JApiClass;
    import japicmp.model.JApiCompatibility;
    import japicmp.model.JApiConstructor;
    import japicmp.model.JApiField;
    import japicmp.model.JApiHasAnnotations;
    import japicmp.model.JApiMethod;
    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            }
            if (member instanceof JApiField) {
                return isIncubatingField((JApiField) member)
            }
            if (member instanceof JApiConstructor) {
                return isIncubatingConstructor((JApiConstructor) member)
            }
            return isAnnotatedWithIncubating(member)
        }
    
        private static boolean isIncubatingClass(JApiClass clazz) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRule.java

    package gradlebuild.binarycompatibility.rules;
    
    import gradlebuild.binarycompatibility.metadata.KotlinMetadataQueries;
    import japicmp.model.JApiClass;
    import japicmp.model.JApiCompatibility;
    import japicmp.model.JApiConstructor;
    import japicmp.model.JApiField;
    import japicmp.model.JApiHasAnnotations;
    import japicmp.model.JApiMethod;
    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 21 16:02:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    import gradlebuild.binarycompatibility.jApiClass
    import gradlebuild.binarycompatibility.simpleName
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiConstructor
    import japicmp.model.JApiField
    import japicmp.model.JApiMethod
    
    
    private
    typealias PredicateVisitor = GenericVisitorAdapter<Boolean, Unit?>
    
    
    internal
    object JavaSourceQueries {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    import gradlebuild.binarycompatibility.isSynthetic
    import gradlebuild.binarycompatibility.metadata.KotlinMetadataQueries
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiConstructor
    import japicmp.model.JApiField
    import japicmp.model.JApiMethod
    import javassist.CtBehavior
    import javassist.CtClass
    import javassist.CtConstructor
    import javassist.CtField
    import javassist.CtMember
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top