Skip to content
Permalink
Browse files

make all inner classes public

  • Loading branch information...
gublan24 committed Sep 17, 2019
1 parent fe9c14c commit 47b2869eeb3d2f7d88e9e4448a6cd3cb0fc7a3a9
Showing with 5 additions and 8 deletions.
  1. +5 −8 UmpleToJava/UmpleTLTemplates/JavaClassGenerator.ump
@@ -112,14 +112,11 @@ String classPackageName=(uClass.getPackageName().length() == 0 ? "" : uClass.get
appendln(realSb,NL+"@XmlAccessorType(XmlAccessType.FIELD)");
}
#>>
<<#
append(realSb, "{0}", "\n");
if(! uClass.hasOuterClass())
append(realSb, "{0} ", "public");
else if (uClass.getIsStatic())
{
append(realSb, "{0} ", "static");
}
public <<#
if (uClass.getIsStatic())
{
append(realSb, "{0} ", "static");
}

if (uClass.getIsAbstract()) { append(realSb, "{0} ", "abstract"); } #>>class <<=uClass.getName()>><<= gen.translate("isA",uClass) >><<#
boolean hasParentInterface=uClass.hasParentInterface();

0 comments on commit 47b2869

Please sign in to comment.
You can’t perform that action at this time.