[COROUTINE] Extra logging removed, bug in method signature fix

Relates to #KT-34906
This commit is contained in:
Vladimir Ilmov
2020-01-29 15:31:34 +01:00
parent 2174556505
commit 7175e5a927
3 changed files with 1 additions and 26 deletions
@@ -89,10 +89,6 @@ fun Field.safeType(): Type? {
return wrapClassNotLoadedException { type() }
}
fun Method.safeSignature() {
wrapIllegalArgumentExceptionException { signature() }
}
private inline fun <T> wrapAbsentInformationException(block: () -> T): T? {
return try {
block()
@@ -105,14 +101,6 @@ private inline fun <T> wrapAbsentInformationException(block: () -> T): T? {
}
}
private inline fun <T> wrapIllegalArgumentExceptionException(block: () -> T): T? {
return try {
block()
} catch (e: IllegalArgumentException) {
null
}
}
private inline fun <T> wrapClassNotLoadedException(block: () -> T): T? {
return try {
block()