Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for CONSTRUCTOR (0.12 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirSimpleNameReference.kt

            check(this is KaFirSession)
            val results = FirReferenceResolveHelper.resolveSimpleNameReference(this@KaFirSimpleNameReference, this)
            //This fix-up needed to resolve annotation call into annotation constructor (but not into the annotation type)
            return fixUpAnnotationCallResolveToCtor(results)
        }
    
        override fun getResolvedToPsi(analysisSession: KaSession): Collection<PsiElement> = with(analysisSession) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForType.kt

    import org.jetbrains.kotlin.fir.types.ConeKotlinType
    import org.jetbrains.kotlin.fir.types.customAnnotations
    import org.jetbrains.kotlin.name.ClassId
    
    internal class KaFirAnnotationListForType private constructor(
        val coneType: ConeKotlinType,
        private val builder: KaSymbolByFirBuilder,
    ) : AbstractList<KaAnnotation>(), KaAnnotationList {
        private val backingAnnotations: List<KaAnnotation> by lazy {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/annotations/KaAnnotationImpl.kt

         */
        lazyArguments: Lazy<List<KaNamedAnnotationValue>>,
        index: Int?,
    
        /**
         * The constructor symbol into which this annotation resolves if the annotation is correctly resolved
         */
        constructorSymbol: KaConstructorSymbol?,
        override val token: KaLifetimeToken
    ) : KaAnnotation {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    false
    
                // - The `this` in `constructor(x: Int) : this(x)`
                is KtConstructorDelegationReferenceExpression ->
                    false
    
                // - Administrative node for EnumEntries. Never used as expression.
                is KtEnumEntrySuperclassReferenceExpression ->
                    false
    
                // - The "reference" in a constructor call. E.g. `C` in `C()`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

        extendsFrom(externalApi.get())
        outgoing.artifact(task)
        configureAsRuntimeElements(objects)
    }
    
    open class SoftwareComponentFactoryProvider @Inject constructor(val factory: SoftwareComponentFactory)
    val softwareComponentFactory = project.objects.newInstance(SoftwareComponentFactoryProvider::class.java).factory
    val gradleApiComponent = softwareComponentFactory.adhoc("gradleApi")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

    }
    
    private fun KotlinType.hasReferenceOtherThan(allowedTypeParameterDescriptors: Set<TypeParameterDescriptor>): Boolean {
        return when (this) {
            is SimpleType -> {
                val declarationDescriptor = constructor.declarationDescriptor
                if (declarationDescriptor !is AbstractTypeParameterDescriptor) return false
                declarationDescriptor !in allowedTypeParameterDescriptors ||
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirValueParameterSymbol.kt

            val ktPropertySymbol = builder.variableLikeBuilder.buildPropertySymbol(propertySymbol)
            check(ktPropertySymbol is KaKotlinPropertySymbol) {
                "Unexpected symbol for primary constructor property ${ktPropertySymbol.javaClass} for fir: ${firSymbol.fir.renderWithType()}"
            }
    
            ktPropertySymbol
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/FirCallableSignature.kt

    import org.jetbrains.kotlin.fir.types.FirTypeRef
    
    /**
     * **Note**: the signature doesn't contain a name. This check should be done externally.
     */
    internal class FirCallableSignature private constructor(
        private val receiverType: String?,
        private val contextReceiverTypes: List<String>,
        private val parameters: List<String>?,
        private val typeParametersCount: Int,
        private val returnType: String,
    ) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

                    when (this@with) {
                        is KaFunctionSymbol -> callableId ?: name
                        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)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        this.expectedElements = Helpers.copyToList(expectedElements);
        this.knownOrder = knownOrder;
        this.startIndex = startIndex;
      }
    
      /**
       * I'd like to make this a parameter to the constructor, but I can't because the stimulus
       * instances refer to {@code this}.
       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top