Remove FIELD target from jvmStatic and platformStatic annotations
This commit is contained in:
@@ -87,8 +87,8 @@ interface KMutablePropertyImpl<R> : KMutableProperty<R>, KPropertyImpl<R> {
|
||||
|
||||
private fun KPropertyImpl.Accessor<*>.computeCallerForAccessor(isGetter: Boolean): FunctionCaller<*> {
|
||||
fun isJvmStaticProperty() =
|
||||
Annotations.Companion.findAnyAnnotation(property.descriptor.annotations, PLATFORM_STATIC) != null ||
|
||||
Annotations.Companion.findAnyAnnotation(property.descriptor.annotations, JVM_STATIC) != null
|
||||
property.descriptor.annotations.findAnnotation(PLATFORM_STATIC) != null ||
|
||||
property.descriptor.annotations.findAnnotation(JVM_STATIC) != null
|
||||
|
||||
fun isNotNullProperty() =
|
||||
!TypeUtils.isNullableType(property.descriptor.type)
|
||||
|
||||
Reference in New Issue
Block a user