Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for getRef (0.58 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiKotlinPropertySymbol.kt

        override val hasSetter: Boolean
            get() = withValidityAssertion { psi.isVar }
    
        override val getter: KaPropertyGetterSymbol
            get() = withValidityAssertion {
                val getter = psi.getter ?: return KaFe10PsiDefaultPropertyGetterSymbol(psi, analysisContext)
                return KaFe10PsiPropertyGetterSymbol(getter, analysisContext)
            }
    
        override val setter: KaPropertySetterSymbol?
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirPropertyDelegationMethodsReference.kt

            val property = (expression.parent as? KtElement)?.getOrBuildFirSafe<FirProperty>(firResolveSession) ?: return emptyList()
            if (property.delegate == null) return emptyList()
            val getValueSymbol = (property.getter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            val setValueSymbol = (property.setter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/schemaFromProperties.kt

            return getters.map { (name, getter) ->
                checkNotNull(getter)
                val nameAfterGet = name.substringAfter("get")
                val propertyName = nameAfterGet.replaceFirstChar { it.lowercase(Locale.getDefault()) }
                val type = propertyValueType(getter.returnType).toDataTypeRefOrError()
                val isHidden = getter.annotations.any { it is HiddenInDeclarativeDsl }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

                )
            }
        }
    
        /**
         * This class recursively visits all calls of functions and getters, and if the function or the getter used for a call has
         * an annotation whose FqName is [annotationFqName], it runs [handleFunctionWithAnnotation] for the function or the getter.
         */
        private class CheckCallsWithAnnotationVisitor(
            private val annotationFqName: String,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolInfoProvider.kt

            }
    
            if (descriptor != null) {
                if (descriptor.hasJvmFieldAnnotation()) return descriptor.name
    
                val getter = descriptor.getter ?: return SpecialNames.NO_NAME_PROVIDED
                return Name.identifier(DescriptorUtils.getJvmName(getter) ?: JvmAbi.getterName(descriptor.name.asString()))
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensions.kt

                    "Element '$name' of type '${it::class.java.name}' from container '$this' cannot be cast to '${T::class.qualifiedName}'."
                )
        }
    
    
    /**
     * Delegated property getter that locates extensions.
     */
    inline operator fun <reified T : Any> ExtensionContainer.getValue(thisRef: Any?, property: KProperty<*>): T =
        getByName<T>(property.name)
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

        override fun getKey(): SecretKey = secretKey
    
        override val sourceDescription: String
            get() = "$GRADLE_ENCRYPTION_KEY_ENV_KEY environment variable"
    
        companion object {
            const val GRADLE_ENCRYPTION_KEY_ENV_KEY = "GRADLE_ENCRYPTION_KEY"
        }
    }
    
    
    private
    class NoEncryptionKeySource : SecretKeySource {
        override fun getKey(): SecretKey? {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. src/mdo/writer.vm

            if (props != null && !props.isEmpty()) {
                serializer.startTag(NAMESPACE, tagName);
                for (Map.Entry<String, String> entry : props.entrySet()) {
                    writeTag(entry.getKey(), null, entry.getValue(), serializer);
                }
                serializer.endTag(NAMESPACE, tagName);
            }
        }
    
        private void writeDom(XmlNode dom, XmlSerializer serializer) throws IOException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiDefaultPropertyGetterSymbol.kt

            val bindingContext = analysisContext.analyze(propertyPsi, Fe10AnalysisFacade.AnalysisMode.PARTIAL)
            (bindingContext[BindingContext.VARIABLE, propertyPsi] as? PropertyDescriptor)?.getter
        }
    
        override val origin: KaSymbolOrigin
            get() = withValidityAssertion { propertyPsi.kaSymbolOrigin }
    
        override val psi: PsiElement?
            get() = withValidityAssertion { null }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

                        is KaSamConstructorSymbol -> callableId ?: name
                        is KaConstructorSymbol -> "<constructor>"
                        is KaPropertyGetterSymbol -> callableId ?: "<getter>"
                        is KaPropertySetterSymbol -> callableId ?: "<setter>"
                        is KaAnonymousFunctionSymbol -> "<anonymous function>"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top