Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add annotation metadata store

This is a first step towards better validation of property annotations.

  1. … 9 more files in changeset.
Fix for previous commit on Windows.

Fixes for previous commit.

  1. … 3 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. … 12 more files in changeset.
Fixes for previous commit.

  1. … 5 more files in changeset.
Fixes for previous commit.

    • -0
    • +81
    ./org/gradle/internal/reflect/ClassInspectorTestHelper.java
  1. … 5 more files in changeset.
Change `ClassInspector` so that it does not visit the entire type hierarchy for every type that is inspected, but instead reuses the results of visiting super types.

  1. … 3 more files in changeset.
Change `ClassInspector` so that it does not visit the entire type hierarchy for every type that is inspected, but instead reuses the results of visiting super types.

  1. … 3 more files in changeset.
Change `ClassInspector` so that it does not visit the entire type hierarchy for every type that is inspected, but instead reuses the results of visiting super types.

  1. … 3 more files in changeset.
Change `ClassInspector` so that it does not visit the entire type hierarchy for every type that is inspected, but instead reuses the results of visiting super types.

  1. … 3 more files in changeset.
Handle new constant types in Java 12

Handle new constant types in Java 12

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. … 20 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. … 21 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. … 21 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. … 21 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. … 20 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. … 20 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. … 21 more files in changeset.
Cleanup for #8650 (#8663)

* Improve test for hasTypeVariable

* Move resolving type variables to model core

* Add more test coverage for resolving type variables

  1. … 5 more files in changeset.
Add more test coverage for resolving type variables

Move resolving type variables to model core

    • -0
    • +45
    ./org/gradle/internal/reflect/JavaReflectionUtilTest.groovy
    • -0
    • +55
    ./org/gradle/internal/reflect/JavaReflectionUtilTestMethods.java
  1. … 5 more files in changeset.
Defer service lookups until they are required when creating a decorated object instance.

  1. … 6 more files in changeset.
Defer service lookups until they are required when creating a decorated object instance.

  1. … 6 more files in changeset.
Don't inspect generated types for annotated properties, instead inspect the public type. This avoids some unnecessary work.

Also fix a typo in a couple of validation messages.

  1. … 9 more files in changeset.
Don't inspect generated types for annotated properties, instead inspect the public type. This avoids some unnecessary work.

Also fix a typo in a couple of validation messages.

  1. … 9 more files in changeset.
Remove some assumptions about which annotations are used for injecting services from the property inspection infrastructure, and instead have an injection scheme describe the annotations it supports to the property inspection scheme.

Also remove some caching from the factories of these schemes, as the schemes are all global services now.

  1. … 16 more files in changeset.
Remove some assumptions about which annotations are used for injecting services from the property inspection infrastructure, and instead have an injection scheme describe the annotations it supports to the property inspection scheme.

Also remove some caching from the factories of these schemes, as the schemes are all global services now.

  1. … 16 more files in changeset.
Merge branch 'release'

  1. … 5 more files in changeset.
Simplify resolving type parameters

Using Guava's TypeToken simplifies things and supports full

resolution.

  1. … 1 more file in changeset.