Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PackagePrivateConstructorWithPrivateConstructor (0.38 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/internal/ModifierStubs.java

            }
        }
    
        public static class PackagePrivateConstructorWithPrivateConstructor {
            final String testData;
    
            // This is still ambiguous and will require the @Inject annotation to be fixed
            PackagePrivateConstructorWithPrivateConstructor() {
                this("Potato");
            }
    
            private PackagePrivateConstructorWithPrivateConstructor(String testData) {
                this.testData = testData;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/AccessModifierDefaultServiceRegistryTest.groovy

            when:
            def registry = new DefaultServiceRegistry()
            registry.register {
                it.add(ModifierStubs.PackagePrivateConstructorWithPrivateConstructor)
            }
            then:
            def exception = thrown(ServiceValidationException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top