|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -93,8 +93,8 @@ class MergedAnnotationReadingVisitor<A extends Annotation> extends AnnotationVis
@@ -93,8 +93,8 @@ class MergedAnnotationReadingVisitor<A extends Annotation> extends AnnotationVis
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void visitEnd() { |
|
|
|
|
Map<String, Object> compactedAttributes |
|
|
|
|
= this.attributes.size() == 0 ? Collections.emptyMap() : this.attributes; |
|
|
|
|
Map<String, Object> compactedAttributes = |
|
|
|
|
(this.attributes.size() == 0 ? Collections.emptyMap() : this.attributes); |
|
|
|
|
MergedAnnotation<A> annotation = MergedAnnotation.of( |
|
|
|
|
this.classLoader, this.source, this.annotationType, compactedAttributes); |
|
|
|
|
this.consumer.accept(annotation); |
|
|
|
|
|