posted 5 years ago
Yes it is. Reflection is a powerful tool, and it shouldn't be used lightly. With it you can invalidate many invariants in Java. You can even modify Strings with it! That's why you should always consider setting up the right security permissions. With these you can disallow accessing private members.