IntelliJ IDEA 14.0.0 Web Help

Create New Constructor

UML Class diagram - Context menu of a node element | New | Constructor
Alt+Insert


Item Description
Parameters
Type Specify the parameter type.

Note that code completion works here. As you type, the suggestion list shrinks to show the matching options. Non-existent type is marked as a syntax error.

Name Specify the parameter name.
Add/Remove Use these buttons to add/remove parameters.
Move Up/Down Use these buttons to reorder parameters by moving them up or down in the parameter list.
Visibility Select one of the options to change visibility scope of the constructor.
Exceptions
Add/Remove Use these buttons to add/remove exceptions. For each new exception, specify its type.

Note that code completion works here. As you type, the suggestion list shrinks to show the matching options. Non-existent type is marked as a syntax error.

Move Up/Down Use these buttons to reorder exceptions by moving them up or down in the list.
Signature Preview This read-only area shows the draft constructor signature as you fill in the dialog fields.

See Also

Last modified: 4 December 2014
comments powered by Disqus