Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SinceAnnotationMissingRule (0.14 sec)

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

    import japicmp.model.JApiMethod;
    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    public class SinceAnnotationMissingRule extends AbstractGradleViolationRule {
    
        public static final String SINCE_ERROR_MESSAGE = "Is not annotated with @since ";
    
        public SinceAnnotationMissingRule(Map<String, Object> params) {
            super(params);
        }
    
        @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 21 16:02:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            ruleElem << [new BinaryBreakingChangesRule([:]), new SinceAnnotationMissingRule([:]), new IncubatingMissingRule([:])]
            error << ['Is not binary compatible.', 'Is not annotated with @since', 'Is not annotated with @Incubating']
        }
    
        def "the @since annotation on inner classes is recognised"() {
            given:
            def rule = withContext(new SinceAnnotationMissingRule([:]))
            def jApiInnerClass = Stub(JApiClass)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

    import gradlebuild.binarycompatibility.rules.NewIncubatingAPIRule
    import gradlebuild.binarycompatibility.rules.NullabilityBreakingChangesRule
    import gradlebuild.binarycompatibility.rules.SinceAnnotationMissingRule
    import gradlebuild.binarycompatibility.rules.SinceAnnotationMissingRuleCurrentGradleVersionSetup
    import gradlebuild.binarycompatibility.rules.UpgradePropertiesRulePostProcess
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 11 17:15:16 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    import java.util.regex.Pattern;
    
    import static gradlebuild.binarycompatibility.rules.SinceAnnotationMissingRule.SINCE_ERROR_MESSAGE;
    import static japicmp.model.JApiCompatibilityChange.METHOD_ADDED_TO_INTERFACE;
    import static japicmp.model.JApiCompatibilityChange.METHOD_ADDED_TO_PUBLIC_CLASS;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top