Skip to content

Commit 41b0485

Browse files
committed
Fix NPE when there is no annotation list for parameter.
1 parent c7851ee commit 41b0485

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ object ClassNodeParser {
246246

247247
twoIndented.append("[$i] {")
248248

249-
list.forEach {
249+
list?.forEach {
250250
indent.append(parseAnnotationNode(it))
251251
}
252252

0 commit comments

Comments
 (0)