changed componentPropertyRequired to generateJava