PropertyExtractorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove unused test class

Also split another test case to better capture what's going on with ignored properties.

  1. … 1 more file in changeset.
Use TypeAnnotationMetadata

  1. … 25 more files in changeset.
Use TypeAnnotationMetadata

  1. … 25 more files in changeset.
Use TypeAnnotationMetadata

  1. … 25 more files in changeset.
Use TypeAnnotationMetadata

  1. … 25 more files in changeset.
Use TypeAnnotationMetadata

  1. … 25 more files in changeset.
Use TypeAnnotationMetadata

  1. … 25 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. … 18 more files in changeset.
Move the check that `@Input` should not be attached to properties whose type is a file-ish thing out of the implementation of `ValidateTaskProperties` and into the `TypeMetadata` so that the check is applied both at runtime and by `ValidateTaskProperties`. The check only has an effect at runtime for artifact transform parameters, because the result of these inspections are currently discarded at runtime for tasks and other things.

  1. … 17 more files in changeset.
Move the check that `@Input` should not be attached to properties whose type is a file-ish thing out of the implementation of `ValidateTaskProperties` and into the `TypeMetadata` so that the check is applied both at runtime and by `ValidateTaskProperties`. The check only has an effect at runtime for artifact transform parameters, because the result of these inspections are currently discarded at runtime for tasks and other things.

  1. … 17 more files in changeset.
Use a slightly more informative error message when a known but unsupported annotation is attached to an artifact transform parameters object.

  1. … 10 more files in changeset.
Use a slightly more informative error message when a known but unsupported annotation is attached to an artifact transform parameters object.

  1. … 10 more files in changeset.
Move the validation problems seen during property visiting from the individual property to the type metadata, so that other kinds of failures can be collected (eg an annotation on a non-getter method).

  1. … 24 more files in changeset.
Move the validation problems seen during property visiting from the individual property to the type metadata, so that other kinds of failures can be collected (eg an annotation on a non-getter method).

  1. … 24 more files in changeset.
Tweak the error message for a property that is not annotated on an artifact transform parameters object so that it does not suggest that an output annotation should be used.

  1. … 6 more files in changeset.
Tweak the error message for a property that is not annotated on an artifact transform parameters object so that it does not suggest that an output annotation should be used.

  1. … 6 more files in changeset.
Rename PropertyMetadata.get{Field -> Property}Name

  1. … 5 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
    • +377
    ./PropertyExtractorTest.groovy
  1. … 63 more files in changeset.