Check if method is declared by interface in VisibilityTransformer #108
Closed
Desetude
wants to merge 1 commits from Desetude:hfreeb/vt-interface
into master
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'Desetude:hfreeb/vt-interface'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Good spot!
Given interface members are always public, I think we could
return Opcodes.ACC_PUBLIC
immediately after theval declaredByInterface = ...
line (if it istrue
, of course).This would simplify the
when
block below, which is already quite complicated.I think we could also remove this special case at the top?
Made the requested changes.
thanks!
cherry-picked