Skip to content

Commit

Permalink
write fields to cached data as well
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Oct 4, 2024
1 parent a558f13 commit ca6a9cc
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ class CachedInheritanceTree(tree: AbstractMappingTree, fns: Namespace, data: Cha
append(cls.interfaces.joinToString("\t") { it.toString() })
append("\n")

for (field in cls.fields) {
append("\t")
append(AccessFlag.of(ElementType.METHOD, field.access).joinToString("|") { it.toString() })
append("\t")
append(field.name)
append("\t")
append(field.descriptor.toString())
append("\n")
}

for (method in cls.methods) {
append("\t")
append(AccessFlag.of(ElementType.METHOD, method.access).joinToString("|") { it.toString() })
Expand Down

0 comments on commit ca6a9cc

Please sign in to comment.