I recently created a Utilities class with several private variables that I need to make sure will never be changed, even if someone tries to use reflection.
So, I was wondering if there is a way to make a variable immune for reflection?
No one has answered this question yet.
See similar questions:
or similar:
Source: https://habr.com/ru/post/977574/More articles:Implementing select2 option in jar / jar admin - pythonAuthentication Error - XMPPFramework - Not Authorized - iosUsing window.print () or an alternative on Android devices - javascriptNSLocalizedString with Swift Variables - iosC ++ cout << do not print '0' before the decimal point - c ++How to use asl.h in swift-ios files - iosngTouch ngClick does not bubble - javascriptCloudkit gives an error while trying to save a record - swiftGlibc - arm configuration errorWhat using copy-constructor if a class contains a user-declared destructor? - c ++All Articles