DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Allow managed factories to be recreatable in worker processes

    • -2
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 26 more files in changeset.
Allow managed factories to be recreatable in worker processes

    • -2
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 26 more files in changeset.
Allow managed factories to be recreatable in worker processes

    • -2
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 26 more files in changeset.
Allow managed factories to be recreatable in worker processes

    • -2
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 26 more files in changeset.
Allow managed factories to be recreatable in worker processes

    • -2
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 26 more files in changeset.
Allow managed factories to be recreatable in worker processes

    • -2
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 26 more files in changeset.
Allow managed factories to be recreatable in worker processes

    • -2
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 26 more files in changeset.
WIP

    • -2
    • +3
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 29 more files in changeset.
Move managed factories to a registry

    • -1
    • +2
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 46 more files in changeset.
Move managed factories to a registry

    • -1
    • +2
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 47 more files in changeset.
Move managed factories to a registry

    • -1
    • +2
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 48 more files in changeset.
Move managed factories to a registry

    • -1
    • +2
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 48 more files in changeset.
WIP

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 29 more files in changeset.
WIP - more fixes.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 13 more files in changeset.
WIP - more fixes.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 13 more files in changeset.
WIP - more fixes.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 12 more files in changeset.
WIP - more fixes.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 12 more files in changeset.
Copy the caching strategy of `NamedObjectInstantiator` to `CrossBuildInMemoryCacheFactory` so that it can be reused, and use it to cache the details of generated classes.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 15 more files in changeset.
Copy the caching strategy of `NamedObjectInstantiator` to `CrossBuildInMemoryCacheFactory` so that it can be reused, and use it to cache the details of generated classes.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 15 more files in changeset.
Copy the caching strategy of `NamedObjectInstantiator` to `CrossBuildInMemoryCacheFactory` so that it can be reused, and use it to cache the details of generated classes.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 15 more files in changeset.
Copy the caching strategy of `NamedObjectInstantiator` to `CrossBuildInMemoryCacheFactory` so that it can be reused, and use it to cache the details of generated classes.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 15 more files in changeset.
Change class generation so that each type is validated once, rather than each time it appears in a type graph. Also report multiple validation problems, if they exist, rather than stopping on the first problem.

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 18 more files in changeset.
Introduce a service that takes care of inspecting a type for properties, methods and other metadata. This is a step towards using a single mechanism to discover these things efficiently rather than doing so in a bunch of different ways and multiple times.

In this commit, refactor `ClassInspector` into this service and add some in-memory caching. This class was already used for class generation.

Use this service directly in `ConventionAwareHelper` and remove some ad hoc static caching. This avoids inspecting a type that has just been inspected for class generation when an instance is first created.

Also use this service in `OptionsReader`. While this wasn't a performance problem, this change means more consistent behaviour in how annotations are validated and work with Kotlin and Groovy classes (over time).

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 30 more files in changeset.
Introduce a service that takes care of inspecting a type for properties, methods and other metadata. This is a step towards using a single mechanism to discover these things efficiently rather than doing so in a bunch of different ways and multiple times.

In this commit, refactor `ClassInspector` into this service and add some in-memory caching. This class was already used for class generation.

Use this service directly in `ConventionAwareHelper` and remove some ad hoc static caching. This avoids inspecting a type that has just been inspected for class generation when an instance is first created.

Also use this service in `OptionsReader`. While this wasn't a performance problem, this change means more consistent behaviour in how annotations are validated and work with Kotlin and Groovy classes (over time).

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 31 more files in changeset.
Introduce a service that takes care of inspecting a type for properties, methods and other metadata. This is a step towards using a single mechanism to discover these things efficiently rather than doing so in a bunch of different ways and multiple times.

In this commit, refactor `ClassInspector` into this service and add some in-memory caching. This class was already used for class generation.

Use this service directly in `ConventionAwareHelper` and remove some ad hoc static caching. This avoids inspecting a type that has just been inspected for class generation when an instance is first created.

Also use this service in `OptionsReader`. While this wasn't a performance problem, this change means more consistent behaviour in how annotations are validated and work with Kotlin and Groovy classes (over time).

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 31 more files in changeset.
Introduce a service that takes care of inspecting a type for properties, methods and other metadata. This is a step towards using a single mechanism to discover these things efficiently rather than doing so in a bunch of different ways and multiple times.

In this commit, refactor `ClassInspector` into this service and add some in-memory caching. This class was already used for class generation.

Use this service directly in `ConventionAwareHelper` and remove some ad hoc static caching. This avoids inspecting a type that has just been inspected for class generation when an instance is first created.

Also use this service in `OptionsReader`. While this wasn't a performance problem, this change means more consistent behaviour in how annotations are validated and work with Kotlin and Groovy classes (over time).

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 31 more files in changeset.
Introduce a service that takes care of inspecting a type for properties, methods and other metadata. This is a step towards using a single mechanism to discover these things efficiently rather than doing so in a bunch of different ways and multiple times.

In this commit, refactor `ClassInspector` into this service and add some in-memory caching. This class was already used for class generation.

Use this service directly in `ConventionAwareHelper` and remove some ad hoc static caching. This avoids inspecting a type that has just been inspected for class generation when an instance is first created.

Also use this service in `OptionsReader`. While this wasn't a performance problem, this change means more consistent behaviour in how annotations are validated and work with Kotlin and Groovy classes (over time).

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 30 more files in changeset.
Introduce a service that takes care of inspecting a type for properties, methods and other metadata. This is a step towards using a single mechanism to discover these things efficiently rather than doing so in a bunch of different ways and multiple times.

In this commit, refactor `ClassInspector` into this service and add some in-memory caching. This class was already used for class generation.

Use this service directly in `ConventionAwareHelper` and remove some ad hoc static caching. This avoids inspecting a type that has just been inspected for class generation when an instance is first created.

Also use this service in `OptionsReader`. While this wasn't a performance problem, this change means more consistent behaviour in how annotations are validated and work with Kotlin and Groovy classes (over time).

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 30 more files in changeset.
Introduce a service that takes care of inspecting a type for properties, methods and other metadata. This is a step towards using a single mechanism to discover these things efficiently rather than doing so in a bunch of different ways and multiple times.

In this commit, refactor `ClassInspector` into this service and add some in-memory caching. This class was already used for class generation.

Use this service directly in `ConventionAwareHelper` and remove some ad hoc static caching. This avoids inspecting a type that has just been inspected for class generation when an instance is first created.

Also use this service in `OptionsReader`. While this wasn't a performance problem, this change means more consistent behaviour in how annotations are validated and work with Kotlin and Groovy classes (over time).

    • -1
    • +1
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 31 more files in changeset.
Defer service lookups until they are required when creating a decorated object instance.

    • -11
    • +13
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
  1. … 10 more files in changeset.