Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for NestedType (0.09 seconds)

  1. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    #### Nested values
    
    This is an inappropriate use of lazy types:
    
    ```groovy
    interface NestedType {
        Property<String> getSomeProperty()
    }
    class Example {
        Property<NestedType> getNestedProperty()
    }
    ```
    
    This is unnecessary because users will have trouble creating instances of `NestedType` and merging different instances of `NestedType`. It's also more awkward for users to access the properties in the nested property.
    
    Created: 2026-04-01 11:36
    - Last Modified: 2026-03-05 12:39
    - 10K bytes
    - Click Count (0)
Back to Top