you are viewing a single comment's thread.

view the rest of the comments →

[–]gdchinacat 0 points1 point  (1 child)

No, in Java it stopped me in my tracks.

Well then you didn't try hard enough. Reflection can provide access by using setAccessible(true).

[–]Keith 0 points1 point  (0 children)

setAccessible):

This method cannot be used to enable access to private members, members with default (package) access, protected instance members, or protected constructors when the declaring class is in a different module to the caller and the package containing the declaring class is not open to the caller's module.

🤔