Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getThingA (0.14 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

            buildFile << '''
                @Managed
                interface SomeThings {
                    Thing getThingA()
                    Thing getThingB()
                    Thing getThingC()
                }
    
                @Managed
                interface Thing {
                    String getName()
                    void setName(String name)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            when:
            def obj = create(BeanWithParameterizedTypeService, services)
    
            then:
            obj.things == [12]
            obj.getThings() == [12]
            obj.getProperty("things") == [12]
    
            def returnType = obj.getClass().getDeclaredMethod("getThings").genericReturnType
            assert returnType instanceof ParameterizedType
            assert returnType.rawType == List.class
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy

                    "class SomeThing {}",
                    "@${Managed.name} interface SomeThing { SomeThing getThing() }",
                    "@${Managed.name} interface SomeThing { ${ModelSet.name}<SomeThing> getThings() }",
                    "@${Managed.name} interface SomeThing { @${Managed.name} static interface Child {}; ${ModelSet.name}<Child> getThings() }",
            ]
        }
    
        def "does not hold strong reference to a managed #type type"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r16/CustomModel.java

     */
    
    package org.gradle.integtests.tooling.r16;
    
    import java.util.Map;
    import java.util.Set;
    
    public interface CustomModel {
        String getValue();
    
        Thing getThing();
    
        Set<Thing> getThings();
    
        Map<String, Thing> getThingsByName();
    
        Thing findThing(String name);
    
        interface Thing {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 921 bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

    allprojects {
        apply plugin: CustomPlugin
    }
    
    class CustomModel implements Serializable {
        static final INSTANCE = new CustomThing()
        String getValue() { 'greetings' }
        CustomThing getThing() { return INSTANCE }
        Set<CustomThing> getThings() { return [INSTANCE] }
        Map<String, CustomThing> getThingsByName() { return [child: INSTANCE] }
        CustomThing findThing(String name) { return INSTANCE }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            abstract String getThing();
        }
    
        public static abstract class AbstractSetterBean {
            String getThing() {
                return "";
            }
    
            abstract void setThing(String value);
        }
    
        public static abstract class AbstractSetMethodBean {
            String getThing() {
                return "";
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

        @Managed
        static interface MissingUnmanaged {
            InputStream getThing();
    
            void setThing(InputStream inputStream);
        }
    
        @Managed
        static abstract class UnmanagedModelMapInManagedType {
            abstract ModelMap<InputStream> getThings()
        }
    
        @Managed
        static interface OnlyGetGetter {
            boolean getThing()
        }
    
        @Managed
        static interface OnlyIsGetter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

        interface Thing {}
    
        @Managed
        interface SpecialThing extends Thing {}
    
        @Managed
        interface SimpleModel {
            Thing getThing()
        }
    
        @Managed
        interface SpecialModel extends SimpleModel {
            SpecialThing getThing()
    
            void setThing(SpecialThing thing)
        }
    
        def "a subclass may specialize a property type"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomModelBuildingAction.java

        public CustomModel execute(BuildController controller) {
            CustomModel model1 = controller.getModel(CustomModel.class);
            CustomModel model2 = controller.getModel(CustomModel.class);
            assert model1.getThing() == model2.getThing();
            return model1;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/ComplexCustomModelBuildingAction.java

            CustomModel rootProjectModel = controller.getModel(controller.getBuildModel().getRootProject(), CustomModel.class);
            for (CustomModel customModel : result.values()) {
                assert customModel.getThing() == rootProjectModel.getThing();
            }
    
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top