-
If the source file contains the sequence " &# x5d;&# x5d;> ", the sequence will not be reversed correctly. This string corresponds to the escape characters for the string " &# x5d;&# x5d;> " that indicates the end of a CDATA zone in XML. To avoid the incorrect replacement of "&# x5d;&# x5d;>" by " &# x5d;&# x5d;> ", use the following code: "&# x5d;"+"&# x5d;>"
-
When a type declaration cannot be expressed in Modelio, it is encapsulated in a {JavaTypeExpr} tagged value and the attribute, association or parameter type gets the undefined value. This {JavaTypeExpr} tagged value is not included in the signature of a method. Therefore, if an "m1" method is defined containing the only parameter which has a type that cannot be expressed (a JavaTypeExpr), the creation of a second "m1" method
with only one JavaTypeExpr parameter will not be accepted by Modelio. This situation, however, is very rare.
-
If a file does not contain a class with the same name as the file, the model is reversed correctly. However, during the next generation, the original name of the file is lost. To avoid this type of situation, make sure that the name of a file always corresponds to one of the classes it contains.
-
Certain formats for comments are not supported. The following constructions must be avoided:
1
type MyVariable = test((/*comment*/a+b)*(c+d));
1
int MyVariable = input[/*comment*/0];
1
int[] MyAttribute /*comment*/;
1
2
3
4
private static final String/*comment*/[] MyVariable =
{
...
};
1
2
3
4
private static final String [] MyVariable
/*comment*/= {
...
};
1
2
3
4
5
6
if (a == 10 && (/*comment*/
// comment
b>12
)){
...
}
1
2
3
4
5
6
public static final String
//comment
_URL_1_ = "https://www.modeliosoft.com",
//comment
_URL_2_= "https://www.modeliosoft.fr",
_URL_3_= "http://www.modeliosoft.fr";
1
2
3
4
5
6
7
8
9
10
public enum Week{
_Monday_ /*comment*/,
_Tuesday_
//Comment
, _Wednesday_,
_Thursday_,
//Comment
_Friday_,
/*Comment*/ _Saturday_,
_Sunday_
1
2
3
public void actionPerformed(ActionEvent e) {
...
} //
-
When there is a single line comment at the end of file, the reverse command will fail. To make the reverse succeed, add a return character at the end of the comment.
Example:
Replace:
1
2
...
} //comment<end of file>
with:
1
2
3
...
} //comment<end of file><return>
<end of file>