- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ignored_annotations_on_field (0.35 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java
} return fieldAnnotationsByPropertyName.build(); } private static final String IGNORED_ANNOTATIONS_ON_FIELD = "IGNORED_ANNOTATIONS_ON_FIELD";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 37.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy
Reason: Annotations on fields are only used if there's a corresponding getter for the field. Possible solutions: 1. Add a getter for field 'claws'. 2. Remove the annotations on 'claws'. ${validationMessage("ignored_annotations_on_field")} """ } def "tests output of incompatibleAnnotations"() { when: render incompatibleAnnotations { type('SuperHero').property('fireballs')
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/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc
See link:{javadocPath}/org/gradle/api/artifacts/transform/TransformAction.html#transform-org.gradle.api.artifacts.transform.TransformOutputs-[TransformAction#transform(TransformOutputs)] for details. [[ignored_annotations_on_field]] == Invalid use of annotations on fields This error indicates that you have a field annotated, but that there's no getter for this field.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 23 22:37:03 UTC 2024 - 21.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy
} 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}") .reason("Annotations on fields are only used if there's a corresponding getter for the field.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 11:49:03 UTC 2024 - 42.1K bytes - Viewed (0)