Skip to content

Commit 5916c7a

Browse files
committed
Improved indy
1 parent 15e42a1 commit 5916c7a

File tree

41 files changed

+328
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+328
-85
lines changed

Kores-DSL/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'license'
55

66
apply plugin: 'maven-publish'
77

8-
version '4.2.1.base'
8+
version '4.2.2.base'
99

1010
jar {
1111
manifest {

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ buildscript {
1919
}
2020

2121
group 'com.koresframework'
22-
version '4.2.1.base'
22+
version '4.2.2.base'
2323

2424
apply from: 'gradle/common.gradle'
2525

gradle/common.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jar {
5656
}
5757

5858
tasks.dokkaGfm.configure {
59-
enabled = true
59+
enabled = false
6060
outputDirectory = rootDir.toPath().resolve("kdocs").toFile()
6161

6262
dokkaSourceSets {

kdocs/-kores/com.koresframework.kores.base/-arguments-holder/-builder/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ interface [Builder](index.md)<out [T](index.md) : [ArgumentsHolder](../index.md)
2424
| [InvokeDynamicBase.LambdaLocalCodeBase](../../-invoke-dynamic-base/-lambda-local-code-base/-builder/index.md) |
2525
| [MethodInvocation](../../-method-invocation/-builder/index.md) |
2626
| [DynamicMethodSpec](../../../com.koresframework.kores.common/-dynamic-method-spec/-builder/index.md) |
27+
| [DynamicTypeSpec](../../../com.koresframework.kores.common/-dynamic-type-spec/-builder/index.md) |

kdocs/-kores/com.koresframework.kores.base/-arguments-holder/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ Hold arguments.
3838
| [InvokeDynamicBase](../-invoke-dynamic-base/-lambda-local-code-base/index.md) |
3939
| [MethodInvocation](../-method-invocation/index.md) |
4040
| [DynamicMethodSpec](../../com.koresframework.kores.common/-dynamic-method-spec/index.md) |
41+
| [DynamicTypeSpec](../../com.koresframework.kores.common/-dynamic-type-spec/index.md) |

kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-builder/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface [Builder](index.md)<out [T](index.md) : [InvokeDynamicBase](../index.m
1212
| [bootstrap](bootstrap.md) | [jvm]<br>abstract fun [bootstrap](bootstrap.md)(value: [MethodInvokeHandleSpec](../../../com.koresframework.kores.common/-method-invoke-handle-spec/index.md)): [S](index.md)<br>open fun [bootstrap](bootstrap.md)(value: [MethodInvokeSpec](../../../com.koresframework.kores.common/-method-invoke-spec/index.md)): [S](index.md)<br>See [InvokeDynamic.bootstrap](../../-invoke-dynamic/bootstrap.md) |
1313
| [bootstrapArgs](bootstrap-args.md) | [jvm]<br>open fun [bootstrapArgs](bootstrap-args.md)(vararg values: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [S](index.md)<br>abstract fun [bootstrapArgs](bootstrap-args.md)(value: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>): [S](index.md)<br>See [InvokeDynamic.bootstrapArgs](../../-invoke-dynamic/bootstrap-args.md) |
1414
| [build](../../../com.koresframework.kores.builder/-builder/build.md) | [jvm]<br>abstract fun [build](../../../com.koresframework.kores.builder/-builder/build.md)(): [T](index.md)<br>Build the object of type [T](../../../com.koresframework.kores.builder/-builder/index.md). |
15-
| [dynamicMethod](dynamic-method.md) | [jvm]<br>abstract fun [dynamicMethod](dynamic-method.md)(value: [DynamicMethodSpec](../../../com.koresframework.kores.common/-dynamic-method-spec/index.md)): [S](index.md)<br>See [InvokeDynamic.dynamicMethod](../../-invoke-dynamic/dynamic-method.md) |
15+
| [dynamicDescriptor](dynamic-descriptor.md) | [jvm]<br>abstract fun [dynamicDescriptor](dynamic-descriptor.md)(value: [DynamicDescriptor](../../../com.koresframework.kores.common/-dynamic-descriptor/index.md)): [S](index.md)<br>See [InvokeDynamic.dynamicDescriptor](../../-invoke-dynamic/dynamic-descriptor.md) |
1616
| [type](type.md) | [jvm]<br>open override fun [type](type.md)(value: [Type](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html)): [S](index.md)<br>See T. |
1717

1818
## Inheritors

kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-local-code-base/-builder/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface [Builder](index.md)<out [T](index.md) : [InvokeDynamicBase.LambdaLocal
1515
| [bootstrap](bootstrap.md) | [jvm]<br>open override fun [bootstrap](bootstrap.md)(value: [MethodInvokeSpec](../../../../com.koresframework.kores.common/-method-invoke-spec/index.md)): [S](index.md)<br>open override fun [bootstrap](../../-lambda-method-ref-base/-builder/bootstrap.md)(value: [MethodInvokeHandleSpec](../../../../com.koresframework.kores.common/-method-invoke-handle-spec/index.md)): [S](index.md)<br>See [InvokeDynamic.bootstrap](../../../-invoke-dynamic/bootstrap.md) |
1616
| [bootstrapArgs](../../-builder/bootstrap-args.md) | [jvm]<br>open fun [bootstrapArgs](../../-builder/bootstrap-args.md)(vararg values: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [S](index.md)<br>open override fun [bootstrapArgs](bootstrap-args.md)(value: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>): [S](index.md)<br>See [InvokeDynamic.bootstrapArgs](../../../-invoke-dynamic/bootstrap-args.md) |
1717
| [build](../../../../com.koresframework.kores.builder/-builder/build.md) | [jvm]<br>abstract fun [build](../../../../com.koresframework.kores.builder/-builder/build.md)(): [T](index.md)<br>Build the object of type [T](../../../../com.koresframework.kores.builder/-builder/index.md). |
18-
| [dynamicMethod](dynamic-method.md) | [jvm]<br>open override fun [dynamicMethod](dynamic-method.md)(value: [DynamicMethodSpec](../../../../com.koresframework.kores.common/-dynamic-method-spec/index.md)): [S](index.md)<br>See [InvokeDynamic.dynamicMethod](../../../-invoke-dynamic/dynamic-method.md) |
18+
| [dynamicDescriptor](dynamic-descriptor.md) | [jvm]<br>open override fun [dynamicDescriptor](dynamic-descriptor.md)(value: [DynamicDescriptor](../../../../com.koresframework.kores.common/-dynamic-descriptor/index.md)): [S](index.md)<br>See [InvokeDynamic.dynamicDescriptor](../../../-invoke-dynamic/dynamic-descriptor.md) |
1919
| [expectedTypes](../../-lambda-method-ref-base/-builder/expected-types.md) | [jvm]<br>abstract fun [expectedTypes](../../-lambda-method-ref-base/-builder/expected-types.md)(value: [TypeSpec](../../../-type-spec/index.md)): [S](index.md)<br>See [LambdaMethodRefBase.expectedTypes](../../-lambda-method-ref-base/expected-types.md) |
2020
| [localCode](local-code.md) | [jvm]<br>abstract fun [localCode](local-code.md)(value: [LocalCode](../../../-local-code/index.md)): [S](index.md)<br>See [LambdaLocalCodeBase.localCode](../local-code.md) |
2121
| [methodRef](method-ref.md) | [jvm]<br>open override fun [methodRef](method-ref.md)(value: [MethodInvokeSpec](../../../../com.koresframework.kores.common/-method-invoke-spec/index.md)): [S](index.md)<br>See [LambdaMethodRefBase.methodRef](../../-lambda-method-ref-base/method-ref.md) |

kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-local-code-base/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Invocation of lambda function.
3030
| [bootstrapArgs](index.md#549554050%2FProperties%2F-1216412040) | [jvm]<br>open override val [bootstrapArgs](index.md#549554050%2FProperties%2F-1216412040): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)><br>Bootstrap method Arguments, must be one of the following types:<br><ul><li>[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)</li><li>[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html),</li><li>[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)</li><li>[Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)</li><li>[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)</li><li>[KoresType](../../../com.koresframework.kores.type/-kores-type/index.md)/[Type](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html)</li><li>[MethodInvokeSpec](../../../com.koresframework.kores.common/-method-invoke-spec/index.md) (normally translated into [MethodHandle](https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodHandle.html) at runtime, by the JVM)</li><li>[FieldAccessHandleSpec](../../../com.koresframework.kores.common/-field-access-handle-spec/index.md) (normally translated into [MethodHandle](https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodHandle.html) at runtime, by the JVM)</li><li>[MethodInvokeHandleSpec](../../../com.koresframework.kores.common/-method-invoke-handle-spec/index.md) (normally translated into [MethodHandle](https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodHandle.html) at runtime, by the JVM)</li><li>[TypeSpec](../../-type-spec/index.md) (normally translated into [MethodType](https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodType.html) at runtime, by the JVM)</li><li>[DynamicConstantSpec](../../../com.koresframework.kores.common/-dynamic-constant-spec/index.md) (as specified in [JEP 309](https://openjdk.java.net/jeps/309), translated into a constant).</li></ul><br>This is the value provided to the bootstrap method which resolves the target method to invoke. |
3131
| [bootstrapLocalization](index.md#-783082682%2FProperties%2F-1216412040) | [jvm]<br>open val [bootstrapLocalization](index.md#-783082682%2FProperties%2F-1216412040): [Type](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html)<br>The [Type](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html) that declares the [bootstrap method](../bootstrap.md). |
3232
| [currentTypes](index.md#822835565%2FProperties%2F-1216412040) | [jvm]<br>open val [currentTypes](index.md#822835565%2FProperties%2F-1216412040): [TypeSpec](../../-type-spec/index.md)<br>Current types of lambda sam. |
33-
| [dynamicMethod](index.md#-1749417075%2FProperties%2F-1216412040) | [jvm]<br>open override val [dynamicMethod](index.md#-1749417075%2FProperties%2F-1216412040): [DynamicMethodSpec](../../../com.koresframework.kores.common/-dynamic-method-spec/index.md)<br>Specification of the method to invoke dynamically. |
33+
| [dynamicDescriptor](index.md#2033200191%2FProperties%2F-1216412040) | [jvm]<br>open override val [dynamicDescriptor](index.md#2033200191%2FProperties%2F-1216412040): [DynamicMethodSpec](../../../com.koresframework.kores.common/-dynamic-method-spec/index.md)<br>Specification of the method to invoke dynamically. |
3434
| [expectedTypes](expected-types.md) | [jvm]<br>open override val [expectedTypes](expected-types.md): [TypeSpec](../../-type-spec/index.md)<br>Types expected by the caller of lambda SAM. |
3535
| [localCode](local-code.md) | [jvm]<br>abstract val [localCode](local-code.md): [LocalCode](../../-local-code/index.md)<br>Local method to invoke |
3636
| [methodRef](method-ref.md) | [jvm]<br>open override val [methodRef](method-ref.md): [MethodInvokeSpec](../../../com.koresframework.kores.common/-method-invoke-spec/index.md)<br>Method reference to invoke |

kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-method-ref-base/-builder/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface [Builder](index.md)<out [T](index.md) : [InvokeDynamicBase.LambdaMetho
1515
| [bootstrap](../../-builder/bootstrap.md) | [jvm]<br>open fun [bootstrap](../../-builder/bootstrap.md)(value: [MethodInvokeSpec](../../../../com.koresframework.kores.common/-method-invoke-spec/index.md)): [S](index.md)<br>open override fun [bootstrap](bootstrap.md)(value: [MethodInvokeHandleSpec](../../../../com.koresframework.kores.common/-method-invoke-handle-spec/index.md)): [S](index.md)<br>See [InvokeDynamic.bootstrap](../../../-invoke-dynamic/bootstrap.md) |
1616
| [bootstrapArgs](../../-builder/bootstrap-args.md) | [jvm]<br>open fun [bootstrapArgs](../../-builder/bootstrap-args.md)(vararg values: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)): [S](index.md)<br>open override fun [bootstrapArgs](bootstrap-args.md)(value: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>): [S](index.md)<br>See [InvokeDynamic.bootstrapArgs](../../../-invoke-dynamic/bootstrap-args.md) |
1717
| [build](../../../../com.koresframework.kores.builder/-builder/build.md) | [jvm]<br>abstract fun [build](../../../../com.koresframework.kores.builder/-builder/build.md)(): [T](index.md)<br>Build the object of type [T](../../../../com.koresframework.kores.builder/-builder/index.md). |
18-
| [dynamicMethod](dynamic-method.md) | [jvm]<br>open override fun [dynamicMethod](dynamic-method.md)(value: [DynamicMethodSpec](../../../../com.koresframework.kores.common/-dynamic-method-spec/index.md)): [S](index.md)<br>See [InvokeDynamic.dynamicMethod](../../../-invoke-dynamic/dynamic-method.md) |
18+
| [dynamicDescriptor](dynamic-descriptor.md) | [jvm]<br>open override fun [dynamicDescriptor](dynamic-descriptor.md)(value: [DynamicDescriptor](../../../../com.koresframework.kores.common/-dynamic-descriptor/index.md)): [S](index.md)<br>See [InvokeDynamic.dynamicDescriptor](../../../-invoke-dynamic/dynamic-descriptor.md) |
1919
| [expectedTypes](expected-types.md) | [jvm]<br>abstract fun [expectedTypes](expected-types.md)(value: [TypeSpec](../../../-type-spec/index.md)): [S](index.md)<br>See [LambdaMethodRefBase.expectedTypes](../expected-types.md) |
2020
| [methodRef](method-ref.md) | [jvm]<br>abstract fun [methodRef](method-ref.md)(value: [MethodInvokeSpec](../../../../com.koresframework.kores.common/-method-invoke-spec/index.md)): [S](index.md)<br>See [LambdaMethodRefBase.methodRef](../method-ref.md) |
2121
| [target](target.md) | [jvm]<br>abstract fun [target](target.md)(value: [Instruction](../../../../com.koresframework.kores/-instruction/index.md)): [S](index.md)<br>See [LambdaMethodRefBase.target](../target.md) |

kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-method-ref-base/bootstrap-args.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Bootstrap method Arguments, must be one of the following types:
1111

1212
This is the value provided to the bootstrap method which resolves the target method to invoke. Those values are stored in the **ConstantPool** and are not provided to the target method.
1313

14-
Arguments that must be provided to the target method must be provided in the [dynamicMethod](dynamic-method.md) specification.
14+
Arguments that must be provided to the target method must be provided in the [dynamicDescriptor](dynamic-descriptor.md) specification.

kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-method-ref-base/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Dynamic invocation of lambda method reference.
3030
| [bootstrapArgs](bootstrap-args.md) | [jvm]<br>open override val [bootstrapArgs](bootstrap-args.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)><br>Bootstrap method Arguments, must be one of the following types:<br><ul><li>[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)</li><li>[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html),</li><li>[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)</li><li>[Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)</li><li>[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)</li><li>[KoresType](../../../com.koresframework.kores.type/-kores-type/index.md)/[Type](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html)</li><li>[MethodInvokeSpec](../../../com.koresframework.kores.common/-method-invoke-spec/index.md) (normally translated into [MethodHandle](https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodHandle.html) at runtime, by the JVM)</li><li>[FieldAccessHandleSpec](../../../com.koresframework.kores.common/-field-access-handle-spec/index.md) (normally translated into [MethodHandle](https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodHandle.html) at runtime, by the JVM)</li><li>[MethodInvokeHandleSpec](../../../com.koresframework.kores.common/-method-invoke-handle-spec/index.md) (normally translated into [MethodHandle](https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodHandle.html) at runtime, by the JVM)</li><li>[TypeSpec](../../-type-spec/index.md) (normally translated into [MethodType](https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodType.html) at runtime, by the JVM)</li><li>[DynamicConstantSpec](../../../com.koresframework.kores.common/-dynamic-constant-spec/index.md) (as specified in [JEP 309](https://openjdk.java.net/jeps/309), translated into a constant).</li></ul><br>This is the value provided to the bootstrap method which resolves the target method to invoke. |
3131
| [bootstrapLocalization](index.md#-1333815028%2FProperties%2F-1216412040) | [jvm]<br>open val [bootstrapLocalization](index.md#-1333815028%2FProperties%2F-1216412040): [Type](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html)<br>The [Type](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html) that declares the [bootstrap method](../bootstrap.md). |
3232
| [currentTypes](current-types.md) | [jvm]<br>open val [currentTypes](current-types.md): [TypeSpec](../../-type-spec/index.md)<br>Current types of lambda sam. |
33-
| [dynamicMethod](dynamic-method.md) | [jvm]<br>open override val [dynamicMethod](dynamic-method.md): [DynamicMethodSpec](../../../com.koresframework.kores.common/-dynamic-method-spec/index.md)<br>Specification of the method to invoke dynamically. |
33+
| [dynamicDescriptor](dynamic-descriptor.md) | [jvm]<br>open override val [dynamicDescriptor](dynamic-descriptor.md): [DynamicMethodSpec](../../../com.koresframework.kores.common/-dynamic-method-spec/index.md)<br>Specification of the method to invoke dynamically. |
3434
| [expectedTypes](expected-types.md) | [jvm]<br>abstract val [expectedTypes](expected-types.md): [TypeSpec](../../-type-spec/index.md)<br>Types expected by the caller of lambda SAM. |
3535
| [methodRef](method-ref.md) | [jvm]<br>abstract val [methodRef](method-ref.md): [MethodInvokeSpec](../../../com.koresframework.kores.common/-method-invoke-spec/index.md)<br>Method reference to invoke |
3636
| [target](target.md) | [jvm]<br>abstract val [target](target.md): [Instruction](../../../com.koresframework.kores/-instruction/index.md)<br>Target of method ref invocation |

kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/bootstrap-args.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Bootstrap method Arguments, must be one of the following types:
1111

1212
This is the value provided to the bootstrap method which resolves the target method to invoke. Those values are stored in the **ConstantPool** and are not provided to the target method.
1313

14-
Arguments that must be provided to the target method must be provided in the [dynamicMethod](dynamic-method.md) specification.
14+
Arguments that must be provided to the target method must be provided in the [dynamicDescriptor](dynamic-descriptor.md) specification.

0 commit comments

Comments
 (0)