Added boolean flag "generateJava" to enable or disable the generation of java classes for components.