Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tools.jackson.module.kotlin

import com.fasterxml.jackson.annotation.JsonCreator
import tools.jackson.databind.DatabindException
import tools.jackson.core.JacksonException
import java.lang.invoke.MethodHandle
import java.lang.invoke.MethodHandles
import java.lang.invoke.MethodType
Expand All @@ -18,8 +18,8 @@ internal val defaultConstructorMarker: Class<*> by lazy {
Class.forName("kotlin.jvm.internal.DefaultConstructorMarker")
}

internal fun DatabindException.wrapWithPath(refFrom: Any?, refFieldName: String) = DatabindException.wrapWithPath(this, refFrom, refFieldName)
internal fun DatabindException.wrapWithPath(refFrom: Any?, index: Int) = DatabindException.wrapWithPath(this, refFrom, index)
internal fun JacksonException.wrapWithPath(refFrom: Any?, refFieldName: String) = JacksonException.wrapWithPath(this, refFrom, refFieldName)
internal fun JacksonException.wrapWithPath(refFrom: Any?, index: Int) = JacksonException.wrapWithPath(this, refFrom, index)

internal fun Int.toBitSet(): BitSet {
var i = this
Expand Down