GroovyInteroperability.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert to multi-project build in preparation to adding new modules

See #304

  1. … 263 more files in changeset.
Introduce `operator fun <T> Closure<T>.invoke(*): T`

See #286

  1. … 1 more file in changeset.
Polish top-level definitions, parameter lists and exceptions

* Separate top-level definitions by two lines

* Segregate visibility modifier of top-level definition to

its own line

* Prefer starting long parameter lists at the next line (more

sustainable in face of method renames)

* Remove unnecessary `Exception` suffix from class names

* Remove unnecessary prefixes from field names

* Use better name for exception variables

  1. … 38 more files in changeset.
Remove unsafe cast warning

Introduce `delegateClosureOf<T>{ ... }` extension

See #153

  1. … 1 more file in changeset.
Set the owner and thisObject of the Groovy Closure

As some clients rely on that information.

See #153

Provide convenience `closureOf<T>(T.() -> Unit)`

For interoperability with Groovy plugins and/or missing Action<T> APIs.

Resolves #103

    • -0
    • +51
    ./GroovyInteroperability.kt
  1. … 2 more files in changeset.