I know that a reason why java files may not be referenced elsewhere in the code is they may be valid tests which obviously do not need to be referenced elsewhere, but are there any other reasons that there may be java files which exist and are never referenced again, without it being dead code?
EDIT: Yeah, I mean source files.