instantiation

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extract method names into constants

and place them right to the methods. This should make it harder to forget

changing the method name next time.

    • -8
    • +11
    ./generator/AsmBackedClassGenerator.java
Remove leftover reference to `getInstantiatorForNext`

Looks like the method is only referenced when the getter is called in

the constructor.

    • -3
    • +3
    ./generator/AsmBackedClassGenerator.java
  1. … 1 more file in changeset.
Support `ConfigurableFileTree` and `NamedDomainObjectContainer<T>` for managed properties (that is, abstract read-only properties where Gradle provides an implementation).

    • -1
    • +5
    ./generator/AbstractClassGenerator.java
    • -6
    • +4
    ./generator/AsmBackedClassGenerator.java
  1. … 3 more files in changeset.
Support `ConfigurableFileTree` and `NamedDomainObjectContainer<T>` for managed properties (that is, abstract read-only properties where Gradle provides an implementation).

    • -1
    • +5
    ./generator/AbstractClassGenerator.java
    • -6
    • +4
    ./generator/AsmBackedClassGenerator.java
  1. … 3 more files in changeset.
Support `ConfigurableFileTree` and `NamedDomainObjectContainer<T>` for managed properties (that is, abstract read-only properties where Gradle provides an implementation).

    • -1
    • +5
    ./generator/AbstractClassGenerator.java
    • -6
    • +4
    ./generator/AsmBackedClassGenerator.java
  1. … 3 more files in changeset.
Support `ConfigurableFileTree` and `NamedDomainObjectContainer<T>` for managed properties (that is, abstract read-only properties where Gradle provides an implementation).

    • -1
    • +5
    ./generator/AbstractClassGenerator.java
    • -6
    • +4
    ./generator/AsmBackedClassGenerator.java
  1. … 3 more files in changeset.
Support `ConfigurableFileTree` and `NamedDomainObjectContainer<T>` for managed properties (that is, abstract read-only properties where Gradle provides an implementation).

    • -1
    • +5
    ./generator/AbstractClassGenerator.java
    • -6
    • +4
    ./generator/AsmBackedClassGenerator.java
  1. … 1 more file in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -3
    • +3
    ./generator/AbstractClassGenerator.java
    • -30
    • +35
    ./generator/AsmBackedClassGenerator.java
    • -23
    • +63
    ./generator/ManagedObjectFactory.java
  1. … 4 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -3
    • +3
    ./generator/AbstractClassGenerator.java
    • -30
    • +35
    ./generator/AsmBackedClassGenerator.java
    • -23
    • +63
    ./generator/ManagedObjectFactory.java
  1. … 5 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -3
    • +3
    ./generator/AbstractClassGenerator.java
    • -30
    • +35
    ./generator/AsmBackedClassGenerator.java
    • -23
    • +63
    ./generator/ManagedObjectFactory.java
  1. … 5 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -3
    • +3
    ./generator/AbstractClassGenerator.java
    • -30
    • +35
    ./generator/AsmBackedClassGenerator.java
    • -23
    • +63
    ./generator/ManagedObjectFactory.java
  1. … 5 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -3
    • +3
    ./generator/AbstractClassGenerator.java
    • -30
    • +35
    ./generator/AsmBackedClassGenerator.java
    • -23
    • +63
    ./generator/ManagedObjectFactory.java
  1. … 4 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -3
    • +3
    ./generator/AbstractClassGenerator.java
    • -30
    • +35
    ./generator/AsmBackedClassGenerator.java
    • -23
    • +63
    ./generator/ManagedObjectFactory.java
  1. … 4 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -3
    • +3
    ./generator/AbstractClassGenerator.java
    • -30
    • +35
    ./generator/AsmBackedClassGenerator.java
    • -23
    • +63
    ./generator/ManagedObjectFactory.java
  1. … 5 more files in changeset.
Fix verify error when decorating class that has action methods or constructors with wide parameters.

Long and double takes 2 stack slots, but AsmBackedClassGenerator doesn't count it in mind and creates incorrect bytecode for methods like these:

void name(long arg, Action action)

<init>(double arg, Object any)

(when wide parameter isn't last argument in general case).

Signed-off-by: Sergey Shatunov <me@prok.pw>

    • -5
    • +10
    ./generator/AsmBackedClassGenerator.java
  1. … 1 more file in changeset.
Cache the constructors used to deserialize beans from the instant execution cache across build invocations.

    • -9
    • +5
    ./generator/DefaultInstantiationScheme.java
  1. … 7 more files in changeset.
Cache the constructors used to deserialize beans from the instant execution cache across build invocations.

    • -9
    • +5
    ./generator/DefaultInstantiationScheme.java
  1. … 7 more files in changeset.
Cache the constructors used to deserialize beans from the instant execution cache across build invocations.

    • -9
    • +5
    ./generator/DefaultInstantiationScheme.java
  1. … 6 more files in changeset.
Fix for previous commit.

    • -0
    • +4
    ./generator/AbstractClassGenerator.java
Fix for previous commit.

    • -8
    • +8
    ./generator/AbstractClassGenerator.java
  1. … 1 more file in changeset.
Fix for previous commit.

    • -8
    • +8
    ./generator/AbstractClassGenerator.java
  1. … 1 more file in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with non-final getters.

    • -14
    • +15
    ./generator/AbstractClassGenerator.java
    • -4
    • +17
    ./generator/AsmBackedClassGenerator.java
  1. … 2 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with non-final getters.

    • -16
    • +21
    ./generator/AbstractClassGenerator.java
    • -4
    • +17
    ./generator/AsmBackedClassGenerator.java
  1. … 4 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with non-final getters.

    • -14
    • +15
    ./generator/AbstractClassGenerator.java
    • -4
    • +17
    ./generator/AsmBackedClassGenerator.java
  1. … 2 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with non-final getters.

    • -16
    • +21
    ./generator/AbstractClassGenerator.java
    • -4
    • +17
    ./generator/AsmBackedClassGenerator.java
  1. … 4 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with final getters.

    • -20
    • +27
    ./generator/AbstractClassGenerator.java
    • -15
    • +34
    ./generator/AsmBackedClassGenerator.java
  1. … 3 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with final getters.

    • -20
    • +27
    ./generator/AbstractClassGenerator.java
    • -15
    • +34
    ./generator/AsmBackedClassGenerator.java
  1. … 3 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with final getters.

    • -20
    • +27
    ./generator/AbstractClassGenerator.java
    • -15
    • +34
    ./generator/AsmBackedClassGenerator.java
  1. … 3 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with final getters.

    • -20
    • +27
    ./generator/AbstractClassGenerator.java
    • -15
    • +34
    ./generator/AsmBackedClassGenerator.java
  1. … 3 more files in changeset.
Include some information about the owning task or extension object in the display name for a managed `Property<T>` instance.

    • -6
    • +9
    ./generator/AsmBackedClassGenerator.java
    • -2
    • +11
    ./generator/ManagedObjectFactory.java
  1. … 6 more files in changeset.