Skip to content

Modeler_audit_rules_R2390

Antonin Abhervé edited this page Sep 3, 2020 · 1 revision

R2390

Summary

A constructor cannot have return parameters.

Details

A constructor is a method that instanciates the Classifier it belongs to, and does not return anything.

Tips
  • Remove this parameter.

  • Remove the ‘constructor’ stereotype from the method and make it a class method.

Clone this wiki locally