Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for type (0.24 sec)

  1. src/mdo/model.vm

          #set ( $type = ${types.getOrDefault($field,${types.getOrDefault($field.type,$field.type)})} )
          #if ( $type.startsWith("List<") )
            #set ( $type = ${type.replace('List<','Collection<')} )
          #end
          #if ( $type == 'boolean' )
            Boolean ${field.name};
          #elseif ( $type == 'int' )
            Integer ${field.name};
          #else
            ${type} ${field.name};
        #end
        #end
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

        /**
         * Approximates [KaType] with a supertype which can be rendered in a source code
         *
         * Return `null` if the type do not need approximation and can be rendered as is
         * Otherwise, for type `T` return type `S` such `T <: S` and `T` and every type argument is denotable
         */
        public fun KaType.approximateToSuperPublicDenotable(approximateLocalTypes: Boolean): KaType? =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

                else -> FunctionSemanticsInternal.DefaultPure(returnTypeClassifier.toDataTypeRefOrError())
            }
        }
    
        private
        fun KType.toKClass() = (classifier ?: error("unclassifiable type $this is used in the schema")) as? KClass<*>
            ?: error("type $this classified as a non-class is used in the schema")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. src/mdo/model-v3.vm

          #set ( $type = ${types.getOrDefault($field,${types.getOrDefault($field.type,$field.type)})} )
          #if ( $type == "boolean" || $type == "Boolean" )
            #set ( $pfx = "is" )
          #else
            #set ( $pfx = "get" )
          #end
          #if ( $field.type == "java.util.List" || $field.type == "java.util.Properties" )
        @Nonnull
          #end
        public ${type} ${pfx}${cap}() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 06 19:04:44 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. src/mdo/writer.vm

          #set ( $def = ${field.defaultValue} )
          #if ( $field.type == "String" )
            #if ( ! $def )
                writeTag("$fieldTagName", null, ${classLcapName}.get${fieldCapName}(), serializer);
            #else
                writeTag("$fieldTagName", "${def}", ${classLcapName}.get${fieldCapName}(), serializer);
            #end
          #elseif ( $field.type == "boolean" || $field.type == "Boolean" )
            #if ( ${def} == "true" )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            }
            else -> arguments.any { typeProjection ->
                // A star projection type (lazily) built by type parameter will be yet another type with a star projection,
                // resulting in stack overflow if we keep checking allowed type parameter descriptors
                !typeProjection.isStarProjection &&
                        typeProjection.type.hasReferenceOtherThan(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. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

         * Caches the computed `readObject` method hierarchies during decoding because [ReadContext.decode] might
         * be called multiple times for the same type.
         */
        private
        fun readObjectMethodHierarchyForDecoding(type: Class<*>): List<Method> =
            readObjectHierarchy.computeIfAbsent(type) {
                readObjectMethodHierarchyFrom(it.allMethods())
            }
    }
    
    
    internal
    fun Method.isReadResolve() =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        override fun substituteType(type: ConeKotlinType): ConeKotlinType? {
            if (type !is ConeClassLikeType) return null
    
            val hasStableName = type.classId?.isLocal == true
            if (!hasStableName) {
                // Make sure we're not going to expand type argument over and over again.
                // If so, i.e., if there is a recursive type argument, return the current, non-null [type]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

        }
    }
    
    /**
     *  The left hand side of a `::` is regarded as used unless it refers to a type.
     *  We decide that the LHS is a type reference by checking if the left hand
     *  side is a (qualified) name, and, in case it _is_, resolving that name.
     *
     *  If it resolves to a non-class declaration, it does _not_ refer to a type.
     */
    private fun doesDoubleColonUseLHS(lhs: PsiElement): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/mdo/reader.vm

          #set ( $fieldCapName = $Helper.capitalise( $field.name ) )
                else if ("$fieldTagName".equals(name)) {
          #if ( $field.type == "String" )
                    ${classLcapName}.${field.name}(interpolatedTrimmed(value, "$fieldTagName"));
          #elseif ( $field.type == "boolean" || $field.type == "Boolean" )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:33:11 UTC 2023
    - 42.1K bytes
    - Viewed (0)
Back to top