Use Enum.entries instead of deprecated Enum.values()
This commit is contained in:
committed by
Space Team
parent
7d3f080c81
commit
d97e8ae456
@@ -401,7 +401,7 @@ val MethodInsnNode.reificationArgument: ReificationArgument?
|
|||||||
val MethodInsnNode.operationKind: ReifiedTypeInliner.OperationKind?
|
val MethodInsnNode.operationKind: ReifiedTypeInliner.OperationKind?
|
||||||
get() =
|
get() =
|
||||||
previous?.previous?.intConstant?.let {
|
previous?.previous?.intConstant?.let {
|
||||||
ReifiedTypeInliner.OperationKind.values().getOrNull(it)
|
ReifiedTypeInliner.OperationKind.entries.getOrNull(it)
|
||||||
}
|
}
|
||||||
|
|
||||||
class TypeParameterMappings<KT : KotlinTypeMarker>(
|
class TypeParameterMappings<KT : KotlinTypeMarker>(
|
||||||
|
|||||||
Reference in New Issue
Block a user