Java Code Generation Options

For information about code generation options for languages other than Java, please refer to the appropriate language manual or the online documentation.

The following window contains the Java-specific code-generation options:

The options in this window allow users to change the way the generated code is organized, what files are generated to assist compiling the generated code, and to set parameters for the generated code.

Changing the code organization can be particularly helpful for using generated code with IDEs like Netbeans or Eclipse. IDEs typically impose a directory structure for projects, so ASN1C can try to organize code to conform to such a hierarchy.

There are several different tools available for building Java files; ASN1C provides a few basic generated files to help simplify the build process. A list of generated files can be provided for use with command-line tools like make; Ant and shell scripts may also be generated.

Code may also be generated that is compatible with Java 1.4; get and set methods may also be generated for users desiring Bean-style encapsulation.

These options are detailed further in the Running ASN1C from the Command Line section.