I've been thinking about classes, and specifically about anonymous inner classes. This led me to wonder what is the access type of an anonymous inner class?
I realize in most cases this won't change anything but it might make a difference for reflection for example. I've seen several questions asking about having problems using reflection to access the contents of anonymous inner classes.
I did find this question (one example of this problem): access exception when invoking method of an anonymous class using java reflection
And this answer which suggests it is private but the writer was unable to confirm: https://stackoverflow.com/a/2659647/3049628