Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 52 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Add `JavaReflectionUtil#getFieldOrNull` to help in Task field validation

    • -0
    • +33
    ./JavaReflectionUtilTest.groovy
  1. … 1 more file in changeset.
Detangle caching and look-up in TypeInspector

    • -0
    • +44
    ./DefaultTypeInspectorTest.groovy
  1. … 5 more files in changeset.
Move TypeInspector to base-services

    • -0
    • +44
    ./TypeInspectorTest.groovy
    • -0
    • +64
    ./TypeInspectorTestHelper.java
  1. … 6 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

    • -35
    • +0
    ./JavaReflectionUtilTestMethods.java
  1. … 5 more files in changeset.
Move resolving type variables to model core

    • -55
    • +0
    ./JavaReflectionUtilTestMethods.java
  1. … 5 more files in changeset.
Revert "Move resolving to JavaReflectionUtil"

Using `TypeToken` in `JavaReflectionUtils` increases the size of the

toolingApi jar - let's not do this for now.

This reverts commit 45be1364fae34cf72fc0f3370dffddcf0254768e.

  1. … 2 more files in changeset.
Move resolving to JavaReflectionUtil

  1. … 2 more files in changeset.
Improve test for hasTypeVariable

    • -1
    • +21
    ./JavaReflectionUtilTestMethods.java
Fix performance regression introduced by using TypeToken to resolve type variables (#8650)

Only use type token to resolve type variables if there are type variables to resolve.

    • -0
    • +35
    ./JavaReflectionUtilTestMethods.java
  1. … 2 more files in changeset.
Rename factory methods on JavaMethod

  1. … 20 more files in changeset.
Move most of org.gradle.internal.reflect to modelCore

The JavaMethod and DirectInstantiator classes are used by the service

and classloading infrastructure in `baseServices`, so I would leave

them there for now.

    • -0
    • +72
    ./JavaMethodTestSubject.java
    • -0
    • +27
    ./JavaMethodTestSubjectSubclass.java
    • -242
    • +0
    ./PropertyAccessorTypeTest.groovy
  1. … 52 more files in changeset.
Move JavaMethod factory methods to JavaMethod

    • -0
    • +88
    ./JavaMethodTest.groovy
  1. … 21 more files in changeset.
Fail class decoration for a class with any abstract methods for which an implementation will not be provided by the generated subclass. Improve property inspection to better understand getter methods with covariant return types.

  1. … 7 more files in changeset.
Ignore fewer methods

  1. … 2 more files in changeset.
Move PropertyExtractor to base services

    • -0
    • +377
    ./PropertyExtractorTest.groovy
  1. … 10 more files in changeset.
Fix typo in test

Enforce the property accessor type behavior for Provider/Property type with a test

Replace usages of org.gradle.api.Nullable

With javax.annotation.Nullable.

  1. … 460 more files in changeset.
Fix setter selection in presence of multiple setters (#2386)

  1. … 4 more files in changeset.
Removed some indirection.

  1. … 2 more files in changeset.
Moved ObjectInstantiationException to public API

This avoids leaking an internal exception type through the

ObjectFactory.newInstance API.

  1. … 26 more files in changeset.
Fixed handling for setters that return non-void types.

  1. … 2 more files in changeset.
Reused the property detection logic that is used for object decoration and task annotation handling also for determining whether a convention mapping can be applied to a decorated object.

The logic is shared but the actual work isn't shared, so this inspection can happen several times per decorated type (but no more than once per build).

  1. … 3 more files in changeset.
Use the same logic to decide whether a method is a property getter or not when decorating a task and when processing the annotations attached to the task's properties, so that this behaviour is consistent.

  1. … 4 more files in changeset.
Replace `TypeToken<T>` by `ModelType<T>` in `TypeOf<T>`

And introduce `TypeOf.Visitor`.

  1. … 6 more files in changeset.
Add coverage for Types.getGenericSimpleName(Type)

And fix basic wildcard type case, e.g. List<?>

  1. … 1 more file in changeset.