Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Initializer (7.56 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirEnumEntrySymbol.kt

            if (firSymbol.fir.initializer == null) {
                return@cached null
            }
    
            firSymbol.fir.lazyResolveToPhase(FirResolvePhase.BODY_RESOLVE)
    
            val initializerExpression = firSymbol.fir.initializer
            check(initializerExpression is FirAnonymousObjectExpression) {
                "Unexpected enum entry initializer: ${initializerExpression?.javaClass}"
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirForLoopInReference.kt

                hasNext?.fir?.buildSymbol(firSymbolBuilder),
                next?.fir?.buildSymbol(firSymbolBuilder),
            )
        }
    
        private fun FirProperty.getInitializerFunctionCall() =
            (initializer as? FirFunctionCall)?.calleeReference?.getResolvedSymbolOfNameReference()
    
        override fun isReferenceToImportAlias(alias: KtImportAlias): Boolean {
            return super<KaFirReference>.isReferenceToImportAlias(alias)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirDestructuringDeclarationReference.kt

                getComponentNSymbol(fir)
            )
        }
    
        private fun KaFirSession.getComponentNSymbol(fir: FirProperty): KaSymbol? {
            val componentFunctionSymbol = (fir.initializer as? FirComponentCall)?.getCalleeSymbol() ?: return null
            return componentFunctionSymbol.fir.buildSymbol(firSymbolBuilder)
        }
    
        override fun isReferenceToImportAlias(alias: KtImportAlias): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirSyntheticJavaPropertySymbol.kt

            get() = withValidityAssertion { firSymbol.createKtTypeParameters(builder) }
    
    
        override val isExtension: Boolean get() = withValidityAssertion { firSymbol.isExtension }
    
        override val initializer: KaInitializerValue? by cached { firSymbol.getKtConstantInitializer(builder) }
    
        override val modality: Modality get() = withValidityAssertion { firSymbol.modality }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

            get() = withValidityAssertion { field }
    }
    
    public typealias KtEnumEntryAnnotationValue = KaEnumEntryAnnotationValue
    
    /**
     * Some constant value (which may be used as initializer of `const val`) used as annotation argument. It may be String literal, number literal or some simple expression.
     * E.g: `@A(1 +2, "a" + "b")` -- both arguments here are [KaConstantAnnotationValue]
     * @see [KaConstantValue]
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     *
     * <p>On different platforms AbstractFuture uses different strategies for its core synchronization
     * primitives. The strategies are all implemented as subtypes of AtomicHelper and the strategy is
     * selected in the static initializer of AbstractFuture. This is convenient and performant but
     * introduces some testing difficulties. This test exercises the two fallback strategies in abstract
     * future.
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     *
     * <p>On different platforms AbstractFuture uses different strategies for its core synchronization
     * primitives. The strategies are all implemented as subtypes of AtomicHelper and the strategy is
     * selected in the static initializer of AbstractFuture. This is convenient and performant but
     * introduces some testing difficulties. This test exercises the two fallback strategies in abstract
     * future.
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirKotlinPropertySymbol.kt

        override val contextReceivers: List<KaContextReceiver> by cached { firSymbol.createContextReceivers(builder) }
    
        override val isExtension: Boolean get() = withValidityAssertion { firSymbol.isExtension }
        override val initializer: KaInitializerValue? by cached { firSymbol.getKtConstantInitializer(builder) }
    
        override val symbolKind: KaSymbolKind
            get() = withValidityAssertion {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      /**
       * The only reference to Unsafe is in this nested class. We set things up so that if
       * Unsafe.theUnsafe is inaccessible, the attempt to load the nested class fails, and the outer
       * class's static initializer can fall back on a non-Unsafe version.
       */
      @SuppressWarnings({"SunApi", "removal"}) // b/345822163
      private enum UnsafeByteArray implements LittleEndianBytes {
        // Do *not* change the order of these constants!
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      /**
       * The only reference to Unsafe is in this nested class. We set things up so that if
       * Unsafe.theUnsafe is inaccessible, the attempt to load the nested class fails, and the outer
       * class's static initializer can fall back on a non-Unsafe version.
       */
      @SuppressWarnings({"SunApi", "removal"}) // b/345822163
      private enum UnsafeByteArray implements LittleEndianBytes {
        // Do *not* change the order of these constants!
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top