Remove unused classAccess argument from getVisibility

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 5 years ago
parent 0bd10234b8
commit 7740b13a29
  1. 3
      deob/src/main/java/dev/openrs2/deob/transform/VisibilityTransformer.kt

@ -54,7 +54,6 @@ class VisibilityTransformer @Inject constructor(private val profile: Profile) :
references: Multimap<DisjointSet.Partition<MemberRef>, String>,
disjointSet: DisjointSet<MemberRef>,
member: MemberRef,
classAccess: Int,
access: Int
): Int {
val method = Type.getType(member.desc).sort == Type.METHOD
@ -119,7 +118,6 @@ class VisibilityTransformer @Inject constructor(private val profile: Profile) :
fieldReferences,
inheritedFieldSets,
MemberRef(clazz, field),
clazz.access,
access
)
field.access = (access and VISIBILITY_FLAGS.inv()) or visibility
@ -137,7 +135,6 @@ class VisibilityTransformer @Inject constructor(private val profile: Profile) :
methodReferences,
inheritedMethodSets,
MemberRef(clazz, method),
clazz.access,
access
)
method.access = (access and VISIBILITY_FLAGS.inv()) or visibility

Loading…
Cancel
Save