Skip to content

Commit

Permalink
Use the simple name in method name attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Sep 20, 2024
1 parent 5ea0060 commit 154c6b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void scan(DocTree tree) {

// Hack
if (!"constructor".equals(typeName())) {
attr.put("name", element.toString());
attr.put("name", element.getSimpleName().toString());
}

Map<String,DeclaredType> thrownTypes = new HashMap<>();
Expand Down

0 comments on commit 154c6b0

Please sign in to comment.