remove unnecessary use of Java reflection

Change-Id: I1cbbd8ee34684ec0fd74cd59529276b31eb7d1c2
make some java fields private

found by UCDetector

Change-Id: Ib4cf18be134c3177cb123191e963bb43b7e6de93
make some java methods private

found by UCDetector

Change-Id: Ic2edbc85194731116aac34064238d11ef1926a98
remove dead java constants

found by UCDetector

Change-Id: I1f8f5ba4f3ab1a1ef134dd0988f913dab7501351