funkygao/cp-ddd-framework

View on GitHub
dddplus-visualization/src/main/java/io/github/dddplus/ast/parser/KeyUsecaseAnnotationParser.java

Summary

Maintainability
A
1 hr
Test Coverage

Method parse has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public KeyUsecaseEntry parse(AnnotationExpr keyUsecase) {
        KeyUsecaseEntry entry = new KeyUsecaseEntry(className, methodName);
        entry.setJavadoc(JavaParserUtil.javadocFirstLineOf(methodDeclaration));
        if (keyUsecase instanceof MarkerAnnotationExpr) {
            // 标注时没有指定任何属性

    There are no issues that match your filters.

    Category
    Status