java: reduce scope, make constructors private

found by UCDetector

Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
java: reduce scope, make fields private

found by UCDetector

Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
java: reduce scope, make some interfaces private

found by UCDetector

Change-Id: I4e1051c041e62b8317b10a5d7d990c77b1acddf9
java: reduce scope, make member classes private

found by UCDetector

Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
java: reduce scope, make some methods private

found by UCDetector

Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
java: remove unused fields

found by UCDetector

Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
java: remove unused enum values

found by UCDetector

Change-Id: Ic07be7e34204b5d838a722e1ce6038506a771144