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