diff options
Diffstat (limited to 'umlgen/src/main/java/moe/yuuta')
-rw-r--r-- | umlgen/src/main/java/moe/yuuta/umlgen/Main.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/umlgen/src/main/java/moe/yuuta/umlgen/Main.kt b/umlgen/src/main/java/moe/yuuta/umlgen/Main.kt index 6d1a967..de62f67 100644 --- a/umlgen/src/main/java/moe/yuuta/umlgen/Main.kt +++ b/umlgen/src/main/java/moe/yuuta/umlgen/Main.kt @@ -88,6 +88,7 @@ object Main { private fun getEnums(): List<EnumDeclaration> = TargetRegistry.getInstance().getNodes() .filter { (_, node) -> node.isEnumDeclaration } + .filter { (pkg, _) -> pkg != null && !pkg.startsWith("ui.tui") } .map { (_, node) -> node.asEnumDeclaration() } private fun parseAssocAnnotation(field: FieldDeclaration, |