Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NestedType (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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