Add getter for syntheticMethodForDelegate in JvmExtensions
This commit is contained in:
committed by
Alexander Udalov
parent
0dd5ad08f3
commit
544689dc4f
@@ -145,6 +145,19 @@ var KmProperty.syntheticMethodForAnnotations: JvmMethodSignature?
|
|||||||
jvm.syntheticMethodForAnnotations = value
|
jvm.syntheticMethodForAnnotations = value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* JVM signature of a synthetic method for properties which delegate to another property,
|
||||||
|
* which constructs and returns a property reference object.
|
||||||
|
* See https://kotlinlang.org/docs/delegated-properties.html#delegating-to-another-property.
|
||||||
|
*
|
||||||
|
* Example: `JvmMethodSignature("getX$delegate", "()Ljava/lang/Object;")`.
|
||||||
|
*/
|
||||||
|
var KmProperty.syntheticMethodForDelegate: JvmMethodSignature?
|
||||||
|
get() = jvm.syntheticMethodForDelegate
|
||||||
|
set(value) {
|
||||||
|
jvm.syntheticMethodForDelegate = value
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JVM signature of the constructor, or null if the JVM signature of this constructor is unknown.
|
* JVM signature of the constructor, or null if the JVM signature of this constructor is unknown.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user