You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per JLS Section 6.6.1, all members of an interface, including nesting interfaces, are implicitly public. However, CtTypeReferenceImpl#canAcess always treats a type with no modifiers as a package-private type. This leads to issues when Spoon is used to scan a interface containing sub-interface, as these interfaces will incorrectly be determined to be inaccessible by other classes.
The text was updated successfully, but these errors were encountered:
You are right, that is my code and it is wrong in this case. I will may be have time this evening to work on that. But if anybody else 👍 would have time to fix that, then put the note here and I might continue on #1005 instead :-)
Per JLS Section 6.6.1, all members of an interface, including nesting interfaces, are implicitly
public
. However,CtTypeReferenceImpl#canAcess
always treats a type with no modifiers as a package-private type. This leads to issues when Spoon is used to scan a interface containing sub-interface, as these interfaces will incorrectly be determined to be inaccessible by other classes.The text was updated successfully, but these errors were encountered: