In the title, you mention an "inner class", but in your example the fields are inside a method. Which one do you mean? Fields in a method can indeed not be accessed.
Tired of updating your mod for every new ROM release?
You want give users the possibility to combine different mods without creating tons of different files for all possible combinations?
Then have a look at my Xposed framework
- modifications without APK changes!