In some cases, java file may be empty after generation.