Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Java code > Reverse engineering legacy Java code > Modeling Java code in modeler > Setting up Java specific information for parameters (Java code)
  
Setting up Java specific information for parameters (Java code)
In addition to the standard Parameter properties in Modeler, you can apply the «Java Parameter» stereotype to a Parameter, and then use its Tag Definitions to define Java specific information.
1. If you have not done so already, add the Java Profile package to your Model. How?
2. Set the standard properties of the Parameter as required. Tell me more...
3. Apply the «Java Parameter» stereotype to the Parameter.
4. For information about applying Stereotypes to an item, see Applying a stereotype to a model item.
5. Open the Parameter Property Pages, and then click theJava Parameter tab.
6. For information about setting the tagged value of a Tag Definition, see Setting a tagged value for an applied tag definition.
7. If you want to specify an array for the parameter, specify the required pairs of empty brackets as the tagged value of the Java Array Spec tag definition.
8. If the parameter is using a Java Generic for its data type and you want to specify the arguments that are passed to the generic type, set the tagged value of the Java Actual Arguments tag definition to the actual arguments.
9. If you want to generate the parameter's data type with a qualified name, set the tagged value of the Java Needs Qualified Type tag definition to TRUE.
10. If the Parameter is a variable length parameter, set the tagged value of the Java Is Variable Length tag definition to TRUE.