Create a Constants.java file

If constants are present in the IDL, write a Constants.java file which contains all the definitions.