Skip to content

Commit

Permalink
Output any annotations on a type-variable usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpovirk committed Oct 27, 2020
1 parent c5f5118 commit 5fc6c28
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ public String visitArray(AnnotatedArrayType type, Set<AnnotatedTypeMirror> visit
public String visitTypeVariable(
AnnotatedTypeVariable type, Set<AnnotatedTypeMirror> visiting) {
StringBuilder sb = new StringBuilder();
sb.append(
annoFormatter.formatAnnotationString(
type.getAnnotationsField(), currentPrintInvisibleSetting));
sb.append(type.actualType);

if (!visiting.contains(type)) {
Expand Down

0 comments on commit 5fc6c28

Please sign in to comment.