instantiation

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Generate a display name for nested objects that are created for managed properties.

    • -2
    • +5
    ./generator/AbstractClassGeneratorSpec.groovy
    • -5
    • +15
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
    • -3
    • +5
    ./generator/AsmBackedClassGeneratorTest.java
    • -2
    • +2
    ./generator/IdentityClassGenerator.java
  1. … 5 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -2
    • +5
    ./generator/AbstractClassGeneratorSpec.groovy
    • -2
    • +1
    ./generator/AsmBackedClassGeneratorTest.java
    • -2
    • +2
    ./generator/IdentityClassGenerator.java
  1. … 5 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -2
    • +5
    ./generator/AbstractClassGeneratorSpec.groovy
    • -2
    • +1
    ./generator/AsmBackedClassGeneratorTest.java
    • -2
    • +2
    ./generator/IdentityClassGenerator.java
  1. … 5 more files in changeset.
Generate a display name for nested objects that are created for managed properties.

    • -2
    • +5
    ./generator/AbstractClassGeneratorSpec.groovy
    • -5
    • +15
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
    • -3
    • +5
    ./generator/AsmBackedClassGeneratorTest.java
    • -2
    • +2
    ./generator/IdentityClassGenerator.java
  1. … 5 more files in changeset.
Tweak test names

    • -2
    • +2
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
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>

    • -0
    • +73
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  1. … 1 more file in changeset.
Fix for previous commit.

    • -0
    • +32
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  1. … 1 more file in changeset.
Fix for previous commit.

    • -0
    • +32
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  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.

    • -7
    • +11
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  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 non-final getters.

    • -7
    • +43
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  1. … 5 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.

    • -7
    • +11
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  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 non-final getters.

    • -7
    • +43
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  1. … 5 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.

    • -0
    • +44
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  1. … 5 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.

    • -0
    • +44
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  1. … 5 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.

    • -0
    • +44
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  1. … 5 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.

    • -0
    • +44
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
  1. … 5 more files in changeset.
Include some information about the owning task or extension object in the display name for a managed `Property<T>` instance.

    • -0
    • +9
    ./generator/AbstractClassGeneratorSpec.groovy
    • -13
    • +9
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 7 more files in changeset.
Include some information about the owning task or extension object in the display name for a managed `Property<T>` instance.

    • -0
    • +9
    ./generator/AbstractClassGeneratorSpec.groovy
    • -13
    • +9
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 7 more files in changeset.
Include some information about the owning task or extension object in the display name for a managed `Property<T>` instance.

    • -0
    • +9
    ./generator/AbstractClassGeneratorSpec.groovy
    • -13
    • +9
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 6 more files in changeset.
Include some information about the owning task or extension object in the display name for a managed `Property<T>` instance.

    • -0
    • +9
    ./generator/AbstractClassGeneratorSpec.groovy
    • -13
    • +9
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 6 more files in changeset.
Include some information about the owning task or extension object in the display name for a managed `Property<T>` instance.

    • -0
    • +9
    ./generator/AbstractClassGeneratorSpec.groovy
    • -13
    • +9
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 6 more files in changeset.
Generate a basic display name for `Property` instances created as the value for a read-only managed property. Use the display name in 'this property has no value' error messages to help with problem diagnosis.

The display name could include some more context, could be used in more error messages, and be applied to more things. This commit is simply an incremental improvement and later changes will improve diagnostics further.

    • -3
    • +6
    ./generator/AbstractClassGeneratorSpec.groovy
    • -4
    • +22
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 22 more files in changeset.
Generate a basic display name for `Property` instances created as the value for a read-only managed property. Use the display name in 'this property has no value' error messages to help with problem diagnosis.

The display name could include some more context, could be used in more error messages, and be applied to more things. This commit is simply an incremental improvement and later changes will improve diagnostics further.

    • -3
    • +6
    ./generator/AbstractClassGeneratorSpec.groovy
    • -4
    • +22
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 22 more files in changeset.
Generate a basic display name for `Property` instances created as the value for a read-only managed property. Use the display name in 'this property has no value' error messages to help with problem diagnosis.

The display name could include some more context, could be used in more error messages, and be applied to more things. This commit is simply an incremental improvement and later changes will improve diagnostics further.

    • -3
    • +6
    ./generator/AbstractClassGeneratorSpec.groovy
    • -4
    • +22
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 24 more files in changeset.
Generate a basic display name for `Property` instances created as the value for a read-only managed property. Use the display name in 'this property has no value' error messages to help with problem diagnosis.

The display name could include some more context, could be used in more error messages, and be applied to more things. This commit is simply an incremental improvement and later changes will improve diagnostics further.

    • -3
    • +6
    ./generator/AbstractClassGeneratorSpec.groovy
    • -4
    • +22
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 22 more files in changeset.
Generate a basic display name for `Property` instances created as the value for a read-only managed property. Use the display name in 'this property has no value' error messages to help with problem diagnosis.

The display name could include some more context, could be used in more error messages, and be applied to more things. This commit is simply an incremental improvement and later changes will improve diagnostics further.

    • -3
    • +6
    ./generator/AbstractClassGeneratorSpec.groovy
    • -4
    • +22
    ./generator/AsmBackedClassGeneratedManagedStateTest.groovy
  1. … 24 more files in changeset.
fixes for tests.

    • -5
    • +14
    ./generator/AbstractClassGeneratorSpec.groovy
    • -0
    • +47
    ./generator/AsmBackedClassGeneratorDecoratedTest.groovy
    • -0
    • +6
    ./generator/AsmBackedClassGeneratorInjectUndecoratedTest.groovy
  1. … 5 more files in changeset.
Move some classes around to bust up a package cycle.

    • -60
    • +0
    ./AbstractClassGeneratorSpec.groovy
    • -39
    • +0
    ./AbstractClassGeneratorTestGroovy.groovy
    • -262
    • +0
    ./AsmBackedClassGeneratedManagedStateTest.groovy
    • -612
    • +0
    ./AsmBackedClassGeneratorDecoratedTest.groovy
    • -470
    • +0
    ./AsmBackedClassGeneratorInjectDecoratedTest.groovy
    • -110
    • +0
    ./AsmBackedClassGeneratorInjectUndecoratedTest.groovy
    • -1894
    • +0
    ./AsmBackedClassGeneratorTest.java
    • -72
    • +0
    ./DefaultInstantiationSchemeTest.groovy
    • -98
    • +0
    ./DefaultInstantiatorFactoryTest.groovy
    • -428
    • +0
    ./DependencyInjectingInstantiatorTest.groovy
    • -157
    • +0
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
    • -217
    • +0
    ./DependencyInjectionUsingLenientConstructorSelectorTest.groovy
  1. … 45 more files in changeset.
Move some classes around to bust up a package cycle.

    • -60
    • +0
    ./AbstractClassGeneratorSpec.groovy
    • -39
    • +0
    ./AbstractClassGeneratorTestGroovy.groovy
    • -262
    • +0
    ./AsmBackedClassGeneratedManagedStateTest.groovy
    • -612
    • +0
    ./AsmBackedClassGeneratorDecoratedTest.groovy
    • -470
    • +0
    ./AsmBackedClassGeneratorInjectDecoratedTest.groovy
    • -110
    • +0
    ./AsmBackedClassGeneratorInjectUndecoratedTest.groovy
    • -1894
    • +0
    ./AsmBackedClassGeneratorTest.java
    • -72
    • +0
    ./DefaultInstantiationSchemeTest.groovy
    • -98
    • +0
    ./DefaultInstantiatorFactoryTest.groovy
    • -428
    • +0
    ./DependencyInjectingInstantiatorTest.groovy
    • -157
    • +0
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
    • -217
    • +0
    ./DependencyInjectionUsingLenientConstructorSelectorTest.groovy
  1. … 45 more files in changeset.
Move some classes around to bust up a package cycle.

    • -60
    • +0
    ./AbstractClassGeneratorSpec.groovy
    • -39
    • +0
    ./AbstractClassGeneratorTestGroovy.groovy
    • -262
    • +0
    ./AsmBackedClassGeneratedManagedStateTest.groovy
    • -612
    • +0
    ./AsmBackedClassGeneratorDecoratedTest.groovy
    • -470
    • +0
    ./AsmBackedClassGeneratorInjectDecoratedTest.groovy
    • -110
    • +0
    ./AsmBackedClassGeneratorInjectUndecoratedTest.groovy
    • -1894
    • +0
    ./AsmBackedClassGeneratorTest.java
    • -72
    • +0
    ./DefaultInstantiationSchemeTest.groovy
    • -98
    • +0
    ./DefaultInstantiatorFactoryTest.groovy
    • -428
    • +0
    ./DependencyInjectingInstantiatorTest.groovy
    • -157
    • +0
    ./DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy
    • -217
    • +0
    ./DependencyInjectionUsingLenientConstructorSelectorTest.groovy
  1. … 46 more files in changeset.