Skip to content

Commit

Permalink
update propagator, fix final methods
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 26, 2024
1 parent e6514b8 commit 2828cbc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ class Propagator(val namespace: Namespace, val tree: AbstractMappingTree, requir
visitor.use {
visitHeader(namespace.name, *targetNs.map { it.name }.toTypedArray())

val visitClasses = tree.classList().mapNotNull { it.first[namespace] }
for ((cls, info) in classes) {
val clsNames = mutableMapOf<Namespace, InternalName>()
val c = tree.getClass(namespace, cls)
Expand Down Expand Up @@ -220,7 +219,7 @@ class Propagator(val namespace: Namespace, val tree: AbstractMappingTree, requir
}
}

access and (Opcodes.ACC_STATIC or Opcodes.ACC_PRIVATE or Opcodes.ACC_FINAL) == 0
access and (Opcodes.ACC_STATIC or Opcodes.ACC_PRIVATE) == 0
}.map { it.name to MethodDescriptor.read(it.desc) }

val fields: List<Pair<String, FieldDescriptor?>> = self.fields.map {
Expand Down

0 comments on commit 2828cbc

Please sign in to comment.