public static String evalUmlAppearanceOfVisibility(EVisibilityKind visibilityKind) {
    if(visibilityKind == EVisibilityKind.PACKAGE)
      return "";
    if(visibilityKind == EVisibilityKind.PRIVATE)
      return "-";
    if(visibilityKind == EVisibilityKind.PROTECTED)
      return "#";
    if(visibilityKind == EVisibilityKind.PUBLIC)
      return "+";
    throw new NullPointerException();
  }
public static String evalUmlAppearanceOfVisibility ( EVisibilityKind visibilityKind ) { if ( visibilityKind == EVisibilityKind . PACKAGE ) return "" ; if ( visibilityKind == EVisibilityKind . PRIVATE ) return "-" ; if ( visibilityKind == EVisibilityKind . PROTECTED ) return "#" ; if ( visibilityKind == EVisibilityKind . PUBLIC ) return "+" ; throw new NullPointerException ( ) ; }
TODO re-do as non-static