look in java files for classes; fix the "in the same package" detection