- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ignored_property_must_not_be_annotated (0.6 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java
return new DefaultPropertyAnnotationMetadata(propertyName, getter, resolveAnnotations()); } private static final String IGNORED_PROPERTY_MUST_NOT_BE_ANNOTATED = "IGNORED_PROPERTY_MUST_NOT_BE_ANNOTATED"; private ImmutableMap<AnnotationCategory, Annotation> resolveAnnotations() { // If method should be ignored, then ignore all other annotations
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: A property is ignored but also has input annotations. Possible solutions: 1. Remove the input annotations. 2. Remove the @Internal annotation. ${validationMessage("ignored_property_must_not_be_annotated")} """ } def "tests outputof conflictingAnnotationsMessage"() { when: render conflictingAnnotationsMessage { type('Whatever').property('prop')
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
To fix this, either make the getter public, or annotate an existing getter instead, or create a new annotated getter. [[ignored_property_must_not_be_annotated]] == Annotations on ignored properties
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/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy
expect: assertValidationFailsWith([ error(ignoredAnnotatedPropertyConfig { type('MyTask').property('oldProperty').ignoring('ReplacedBy').alsoAnnotatedWith('Input') }, 'validation_problems', 'ignored_property_must_not_be_annotated') ]) and: if (isProblemsApiCheckEnabled()) { verifyAll(receivedProblem(0)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 40.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy
def config = display(IgnoredAnnotationPropertyMessage, 'ignored_property_must_not_be_annotated', spec) config.description("annotated with @${config.ignoringAnnotation} should not be also annotated with ${config.alsoAnnotatedWith.collect { "@$it" }.join(", ")}")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 11:49:03 UTC 2024 - 42.1K bytes - Viewed (0)