Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NestedType (0.14 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                return
            }
    
            val nestedType = getNestedType(type)
            if (nestedType.nested.isEmpty()) {
                writeClassBegin(asmType)
                writeGenericArguments(this, nestedType.root, mode)
            } else {
                writeOuterClassBegin(asmType, mapType(nestedType.root.classDescriptor.defaultType).internalName)
                writeGenericArguments(this, nestedType.root, mode)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10UsualClassType.kt

        override val qualifiers: List<KaClassTypeQualifier.KaResolvedClassTypeQualifier>
            get() = withValidityAssertion {
                val nestedType = KaFe10JvmTypeMapperContext.getNestedType(fe10Type)
                val nonInnerQualifiers =
                    generateSequence(nestedType.root.classifierDescriptor.containingDeclaration as? ClassDescriptor) { it.containingDeclaration as? ClassDescriptor }
    
                buildList {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

        }
    
        private fun Fe10AnalysisContext.renderOrdinaryType(type: SimpleType, printer: PrettyPrinter) {
            val nestedType = KaFe10JvmTypeMapperContext.getNestedType(type)
            renderTypeSegment(nestedType.root, printer)
            printer.printCollectionIfNotEmpty(nestedType.nested, separator = ".", prefix = ".", postfix = "") {
                renderTypeSegment(it, printer)
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/support/ClassBytesRepositoryTest.kt

        private
        fun assertKotlinSourceNameOf(classFilePath: String, expected: String) {
            assertThat(kotlinSourceNameOf(classFilePath), equalTo(expected))
        }
    
        class SomeKotlin {
            interface NestedType
        }
    
        @Test
        fun `finds top-level, nested, java, kotlin types in JARs and directories`() {
    
            val jar1 = withClassJar(
                "first.jar",
                Groovydoc::class.java,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 17:45:10 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

         *
         * Example: to get `foo.bar` from `foo.bar.Baz.Inner`, you need to drop 2 qualifiers (`Inner` and `Baz`).
         */
        private fun countQualifiersToDrop(wholeType: KtUserType, nestedType: KtUserType): Int {
            val qualifierIndex = generateSequence(wholeType) { it.qualifier }.indexOf(nestedType)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

            given:
            buildFile << """
                interface NestedType {
                    @Input
                    Property<String> getProp()
                }
    
                abstract class MyTask extends DefaultTask {
                    @Nested
                    abstract NestedType getNested()
    
                    void nested(Action<NestedType> action) {
                        action.execute(nested)
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    This pattern is useful when a custom type has a nested complex type which has the same lifecycle.
    If the lifecycle is different, consider using `Property<NestedType>` instead.
    
    Here is an example of a task type with a `resource` property.
    The `Resource` type is also a custom Gradle type and defines some managed properties:
    
    [source,java]
    .Download.java
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                    private final ${testedType} mutableProperty = ${init};
    
                    // getter and setter
                    @InputFiles @PathSensitive(PathSensitivity.NONE)
                    public ${testedType} getMutablePropertyWithSetter() { return mutableProperty; }
                    public void setMutablePropertyWithSetter(${testedType} value) {}
    
                    // just getter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
Back to top