Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ConstantType (0.36 sec)

  1. platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy

        static final $constantType STATIC_FINAL_FIELD = Constant4.CONSTANT4 $addition;
        static final $constantType STATIC_FINAL_FIELD_2;
        private final $constantType finalField = Constant5.CONSTANT5 $addition;
        private $constantType fieldDecleration = Constant6.CONSTANT6 $addition;
        static {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataType.kt

            BooleanDataType::class,
        ])
        sealed interface ConstantType<JvmType> : DataType {
            val constantType: Class<*>
        }
    
        interface IntDataType : ConstantType<Int>
        interface LongDataType : ConstantType<Long>
        interface StringDataType : ConstantType<String>
        interface BooleanDataType : ConstantType<Boolean>
    
        // TODO: implement nulls?
        interface NullType : DataType
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/DataTypeInternal.kt

            override val constantType: Class<Int> = Int::class.java
            override fun toString(): String = "Int"
            private
            fun readResolve(): Any = DefaultIntDataType
        }
    
        @Serializable
        @SerialName("long")
        data object DefaultLongDataType : DataType.LongDataType {
            override val constantType: Class<Long> = Long::class.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskConstantChangesIncrementalJavaCompilationIntegrationTest.groovy

            source api: ["class A {}", "class B { final static $constantType x = $constantValue; }"], impl: ["class X { $constantType foo() { return B.x; }}", "class Y {int foo() { return -2; }}"]
            impl.snapshot { run language.compileTaskName }
    
            when:
            source api: ["class B { final static $constantType x = $newValue; }"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/reflectObject.kt

            val customAccessorObjects: List<ObjectReflection>,
            val lambdaAccessedObjects: List<ObjectReflection>
        ) : ObjectReflection
    
        data class ConstantValue(
            override val type: DataType.ConstantType<*>,
            override val objectOrigin: ObjectOrigin.ConstantOrigin,
            val value: Any
        ) : ObjectReflection
    
        data class External(
            override val type: DataType,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtValues.kt

        override val token: KaLifetimeToken,
    ) : KaLifetimeOwner {
        public enum class KaContractConstantType {
            NULL, TRUE, FALSE;
        }
    
        public val constantType: KaContractConstantType get() = withValidityAssertion { backingConstantType }
    
        override fun equals(other: Any?): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/LanguageTree.kt

    
    data class LocalValue(val name: String, val rhs: Expr, override val sourceData: SourceData) : DataStatement
    
    
    sealed interface Literal<T : Any> : Expr {
        val value: T
        val type: DataType.ConstantType<T>
    
        data class StringLiteral(
            override val value: String,
            override val sourceData: SourceData
        ) : Literal<String> {
            override val type: DataType.StringDataType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtContractDescriptionElementRenderer.kt

            }
        }
    
    private fun Context.renderKaContractConstantValue(value: KaContractConstantValue, endWithNewLine: Boolean = true): Unit =
        printer.appendHeader(value::class) {
            appendSimpleProperty(value::constantType, endWithNewLine)
        }
    
    private fun Context.renderKaContractParameterValue(value: KaContractParameterValue, endWithNewLine: Boolean = true): Unit =
        printer.appendHeader(value::class) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        analysisContext: Fe10AnalysisContext,
    ): List<KaAnnotationValue> = flatMap { constantValue: ConstantValue<*> ->
        val constantType = constantValue.getType(analysisContext.resolveSession.moduleDescriptor)
        if (analysisContext.builtIns.areSameArrayTypeIgnoringProjections(containingArrayType, constantType)) {
            // If an element in the array has the same type as the containing array, it's a spread component that needs
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top