Returns an array of Field objects reflecting all the fields declared by the class or interface represented by this Class object. This includes public, protected, default (package) access, and private fields, but excludes inherited fields.
I would even add that for those concerned with the security issues that this causes, they can start the java app with a security manager ( -Djava.security.manager on the CLI). This can prevent access to private/package fields/methods.
No holds barred. And no bars holed. Except this tiny ad:
Gift giving made easy with the permaculture playing cards