Skip to content

Commit

Permalink
fix: superClassName can be null (Object has no superclass).
Browse files Browse the repository at this point in the history
  • Loading branch information
autonomousapps committed Dec 12, 2024
1 parent b9c1969 commit 2ffa7c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/autonomousapps/internal/asm.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ internal class ClassNameAndAnnotationsVisitor(private val logger: Logger) : Clas
return AnalyzedClass(
className = className,
outerClassName = outerClassName,
superClassName = superClassName!!,
superClassName = superClassName,
// interfaces = interfaces.orEmpty(),
retentionPolicy = retentionPolicyHolder.get(),
isAnnotation = isAnnotation,
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/autonomousapps/internal/models.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ internal data class AnalyzedClass(
constructor(
className: String,
outerClassName: String?,
superClassName: String,
superClassName: String?,
// interfaces: Set<String>,
retentionPolicy: String?,
isAnnotation: Boolean,
Expand Down

0 comments on commit 2ffa7c3

Please sign in to comment.