I recently installed Papyrus and tried to follow the tutorial on creating a model and throwing out Java code.
Unfortunately, I was almost stuck at the very beginning. In the class definition, I added a static operation for main , and I can specify its argument as an array:
in args: <Undefined> [*]
Unfortunately, this does not allow me to specify the type String. That is, I would like to indicate it as follows:
in args: String [*]
No matter how I enter the type (or any type, for that matter), the type returns to <Undefined> . I suspect that something is wrong or not with the profile that it should use. Unfortunately, the documentation for this tool is rather scarce, and I can not find an answer or solution for this.
Has anyone encountered this problem?
source share