Skip to content

Commit 87a60bd

Browse files
committed
Little fix for internal class names
1 parent 9252544 commit 87a60bd

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ plugins {
1717
}
1818

1919
group 'com.github.jonathanxd'
20-
version '2.0'
20+
version '2.0-a'
2121

2222
apply plugin: 'java'
2323
apply plugin: 'kotlin'

‎src/main/kotlin/com/github/jonathanxd/bytecodedisassembler/Util.kt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ internal object Util {
9090
if (type == null)
9191
return null
9292

93+
if(!type.startsWith("L") && type.length > 1)
94+
return Type.getObjectType(type).className ?: type
95+
9396
val clName = Type.getType(type).className
9497

9598
return clName ?: Type.getObjectType(type).className ?: type

0 commit comments

Comments
 (0)