java: remove unused interfaces

found by UCDetector

Change-Id: Ide8b3b5c9969048aff84eed16b9eea096abad349
java: remove unused member class

found by UCDetector

Change-Id: Id02478d3d151bd01cea50aeb454c02c2bc4d1baf
fix makefile

after my commit  cc6bd12  "java: remove unused enum values"

Change-Id: I9f2f151c0c9a40f39fc235fa65b8324b9cb40027