- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for IgnoredAnnotationOnField (0.33 sec)
-
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy
.solution("Add ${config.kind}") .solution("Mark it as @Internal") } String ignoredAnnotationOnField(@DelegatesTo(value = IgnoredAnnotationOnField, strategy = Closure.DELEGATE_FIRST) Closure<?> spec = {}) { def config = display(IgnoredAnnotationOnField, 'ignored_annotations_on_field', spec) config.description("without corresponding getter has been annotated with @${config.annotation}")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 11:49:03 UTC 2024 - 42.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy
Possible solutions: 1. Add something cool. 2. Mark it as @Internal. ${validationMessage("missing_annotation")} """ } def "tests output of ignoredAnnotationOnField"() { when: render ignoredAnnotationOnField { type('Bear').property('claws') annotatedWith("Harmless") includeLink() } then: outputEquals """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 25.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy
String getProperty() { property } } def "warns about annotation on field without getter"() { expect: assertProperties TypeWithFieldOnlyAnnotation, [:], [ strict(ignoredAnnotationOnField { type(TypeWithFieldOnlyAnnotation.canonicalName).property('property') .annotatedWith('Large') .includeLink() }) ] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 11 15:31:37 UTC 2024 - 25.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy
validateException(task, false, e, missingValueMessage { type(TaskWithNestedBeanWithPrivateClass.canonicalName).property('bean.inputFile').includeLink() }, ignoredAnnotationOnField { type(Bean2.canonicalName).property('inputFile2').annotatedWith('InputFile').includeLink() }) } def validationFailsWhenNestedBeanIsNull() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 38.8K bytes - Viewed (0)