Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from mourezwell/master
Browse files Browse the repository at this point in the history
feat : Add Ability to distinct Abstract classes with (A) icon and italic
  • Loading branch information
gboersma authored Apr 10, 2020
2 parents c546da5 + 0ec9eac commit 79af2db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum Visibility {
}

public enum ClassType {
INTERFACE, ENUM, CLASS
INTERFACE, ENUM, CLASS, ABSTRACT
}

public static class VisibilityItem {
Expand Down Expand Up @@ -168,6 +168,8 @@ public ClassType type() {
return ClassType.INTERFACE;
} else if (_classDoc.isEnum()) {
return ClassType.ENUM;
} else if (_classDoc.isAbstract()) {
return ClassType.ABSTRACT;
} else {
return ClassType.CLASS;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ public void classType(ModelClass modelClass) {
case ENUM:
print("enum");
break;
case ABSTRACT:
print("abstract");
break;
default:
print("class");
}
Expand Down

0 comments on commit 79af2db

Please sign in to comment.