AsmExtensions.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move kotlin-dsl in a sub directory

  1. … 1579 more files in changeset.
Augment test coverage for default package type accessors

See #1205

  1. … 5 more files in changeset.
Let generated accessors code import default package types

To enable quick documentation and navigation to the sources of default

package types.

See #1205

  1. … 9 more files in changeset.
Split accessor emitter implementation into multiple files

  1. … 11 more files in changeset.
Polish AsmExtensions

by limiting private members visibility

Signed-off-by: Paul Merlin <paul@gradle.com>

Prepare `AccessorBytecodeEmitter` to also emit source code

By introducing `AccessorFragment` to hold together all the pieces required to

emit both source and byte code in a single place.

  1. … 5 more files in changeset.
Polish `AccessorBytecodeEmitter`

  1. … 2 more files in changeset.
Emit accessors for container elements

  1. … 3 more files in changeset.
Emit `$extensionName(configure: Action<$extensionType>)` accessor

  1. … 3 more files in changeset.
Emit `DependencyHandler.$configuration(Any)` extension

  1. … 5 more files in changeset.
Emit bytecode for configuration and extension accessors directly

  1. … 9 more files in changeset.
Emit bytecode for plugin spec builders directly

This makes code generation faster by a factor of 100 which means it

now takes a few dozen milliseconds rather than a few seconds.

    • -0
    • +269
    ./AsmExtensions.kt
  1. … 16 more files in changeset.