iluwatar / uml-reverse-mapper

Automatically generate class diagram from code. Supports Graphviz, PlantUML and Mermaid output formats.
Apache License 2.0
228 stars 88 forks source link

meet syntax-error when `abstract class` without `public` #168

Open Anilople opened 1 year ago

Anilople commented 1 year ago

code

abstract class AbstractResource {
  private String path;

  public String getPath() {
    return path;
  }

  public void setPath(String path) {
    this.path = path;
  }
}

the puml generated

@startuml
package com.ctrip.framework.apollo.openapi.client.service {
  abstract ~class AbstractResource {
    - path : String
    ~ AbstractResource()
    + getPath() : String
    + setPath(path : String)
  }
}
@enduml

fail to compile by puml becasue ~ in ~class

Apollo Open Api urm

when change ~class to class, it work.