Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for forProperty (0.21 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

                        continue;
                    }
                    previouslySeenBuilder.visitPropertyProblem(problem ->
                        problem
                            .forProperty(propertyName)
                            .id(TextUtil.screamingSnakeToKebabCase(REDUNDANT_GETTERS), "Property has redundant getters", GradleCoreProblemGroup.validation().property()) // TODO (donat) missing test coverage
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeInitializerContext.java

            return new NodeInitializerContext<T>(type, constraints, Optional.<PropertyContext>absent());
        }
    
        public static <T> NodeInitializerContext<T> forProperty(ModelType<T> type, ManagedProperty<?> property, ModelType<?> containingType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/AbstractInputPropertyAnnotationHandler.java

            if (valueTypes.stream().anyMatch(unsupportedType::isAssignableFrom)) {
                validationContext.visitPropertyProblem(problem -> {
                        ProblemSpec describedProblem = problem
                            .forProperty(propertyMetadata.getPropertyName())
                            .id(TextUtil.screamingSnakeToKebabCase(UNSUPPORTED_VALUE_TYPE), "Unsupported value type", GradleCoreProblemGroup.validation().property())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/ServiceReferencePropertyAnnotationHandler.java

            if (typeVariables.size() != 1 || !BuildService.class.isAssignableFrom(typeVariables.get(0).getRawClass())) {
                validationContext.visitPropertyProblem(problem ->
                    problem
                        .forProperty(propertyMetadata.getPropertyName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/AbstractInputFilePropertyAnnotationHandler.java

                validationContext.visitPropertyProblem(problem -> {
                    String propertyName = propertyMetadata.getPropertyName();
                    problem
                        .forProperty(propertyName)
                        .id(MISSING_NORMALIZATION_ID.getName(), MISSING_NORMALIZATION_ID.getDisplayName(), MISSING_NORMALIZATION_ID.getGroup()) // TODO (donat) missing test coverage
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/AbstractValidatingProperty.java

        public static void reportValueNotSet(String propertyName, TypeValidationContext context, boolean hasConfigurableValue) {
            context.visitPropertyProblem(problem -> {
                ProblemSpec problemSpec = problem.forProperty(propertyName)
                    .id(TextUtil.screamingSnakeToKebabCase(VALUE_NOT_SET), "Value not set", GradleCoreProblemGroup.validation().property())
                    .contextualLabel("doesn't have a configured value")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

            _ * annotationHandler.validatePropertyMetadata(_, _) >> { PropertyMetadata metadata, TypeValidationContext context ->
                context.visitPropertyProblem {
                    it
                        .forProperty(metadata.propertyName)
                        .id("test-problem", "is broken", GradleCoreProblemGroup.validation())
                        .documentedAt(userManual("id", "section"))
                        .severity(Severity.WARNING)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ValidateStep.java

                UnknownImplementationSnapshot unknownImplSnapshot = (UnknownImplementationSnapshot) implementation;
                workValidationContext.visitPropertyProblem(problem -> problem
                    .forProperty(propertyName)
                    .id(TextUtil.screamingSnakeToKebabCase(UNKNOWN_IMPLEMENTATION_NESTED), "Unknown property implementation", GradleCoreProblemGroup.validation().property())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

            if (cacheable) {
                if (normalizer == InputNormalizer.ABSOLUTE_PATH) {
                    validationContext.visitPropertyProblem(problem ->
                        problem
                            .forProperty(propertyName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolInfoProvider.kt

                return symbol.javaSetterSymbol?.name
            }
    
            val firProperty = symbol.firSymbol.fir
            requireIsInstance<FirProperty>(firProperty)
    
            if (firProperty.isVal) return null
    
            return getJvmName(firProperty, isSetter = true)
        }
    
        override fun getAnnotationApplicableTargets(symbol: KaClassOrObjectSymbol): Set<KotlinTarget>? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top