Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for maybeViolation (0.09 sec)

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

            jApiType.annotations >> annotations
    
            when:
            annotations.clear()
    
            then:
            rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @Incubating'
    
            when:
            annotations.add(incubatingAnnotation)
    
            then:
            rule.maybeViolation(jApiType) == null
    
            where:
            apiElement    | jApiTypeName
            'interface'   | 'jApiClassifier'
    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/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRule.java

        public SinceAnnotationMissingRule(Map<String, Object> params) {
            super(params);
        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
    
            if (shouldSkipViolationCheckFor(member) || getRepository().isSince(getCurrentVersion(), member)) {
                return null;
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 21 16:02:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

        NullabilityBreakingChangesRule(Map<String, Object> params) {
            super(params)
        }
    
        @Override
        Violation maybeViolation(JApiCompatibility member) {
    
            if (isNewOrRemoved(member)) {
                return null
            }
    
            List<String> warnings = []
            List<String> errors = []
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top