Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for forProperty (0.41 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirForLoopInReference.kt

                (callee?.getResolvedSymbolOfNameReference()?.fir as? FirProperty)?.getInitializerFunctionCall()
            }
            val hasNext = condition?.calleeReference?.getResolvedSymbolOfNameReference()
            val next = (firLoop.block.statements.firstOrNull() as? FirProperty?)?.getInitializerFunctionCall()
            return listOfNotNull(
                iterator?.fir?.buildSymbol(firSymbolBuilder),
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/KtFirTopLevelPropertySymbolPointer.kt

            candidates: Collection<FirCallableSymbol<*>>,
            firSession: FirSession,
        ): KaKotlinPropertySymbol? {
            val firProperty = candidates.findDeclarationWithSignatureBySymbols<FirProperty>(signature) ?: return null
            return firSymbolBuilder.variableLikeBuilder.buildPropertySymbol(firProperty.symbol) as? KaKotlinPropertySymbol
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/KtFirMemberPropertySymbolPointer.kt

            candidates: FirScope,
            firSession: FirSession
        ): KaKotlinPropertySymbol? {
            val firProperty = candidates.findDeclarationWithSignature<FirProperty>(signature) {
                processPropertiesByName(name, it)
            } ?: return null
    
            return firSymbolBuilder.variableLikeBuilder.buildVariableSymbol(firProperty.symbol) as? KaKotlinPropertySymbol
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirDestructuringDeclarationReference.kt

            check(this is KaFirSession)
            val fir = expression.getOrBuildFirSafe<FirProperty>(firResolveSession) ?: return emptyList()
            return listOfNotNull(
                fir.buildSymbol(firSymbolBuilder),
                getComponentNSymbol(fir)
            )
        }
    
        private fun KaFirSession.getComponentNSymbol(fir: FirProperty): KaSymbol? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirFileScope.kt

    import org.jetbrains.kotlin.analysis.api.symbols.KaConstructorSymbol
    import org.jetbrains.kotlin.analysis.api.symbols.KaPackageSymbol
    import org.jetbrains.kotlin.fir.declarations.FirProperty
    import org.jetbrains.kotlin.fir.declarations.FirRegularClass
    import org.jetbrains.kotlin.fir.declarations.FirSimpleFunction
    import org.jetbrains.kotlin.fir.declarations.FirTypeAlias
    import org.jetbrains.kotlin.name.Name
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top