use of org.springframework.core.annotation.MergedAnnotations in project spring-framework by spring-projects.
the class SimpleMethodMetadataReadingVisitor method visitEnd.
@Override
public void visitEnd() {
String returnTypeName = Type.getReturnType(this.descriptor).getClassName();
MergedAnnotations annotations = MergedAnnotations.of(this.annotations);
SimpleMethodMetadata metadata = new SimpleMethodMetadata(this.methodName, this.access, this.declaringClassName, returnTypeName, getSource(), annotations);
this.consumer.accept(metadata);
}
use of org.springframework.core.annotation.MergedAnnotations in project spring-framework by spring-projects.
the class SimpleAnnotationMetadataReadingVisitor method visitEnd.
@Override
public void visitEnd() {
MergedAnnotations annotations = MergedAnnotations.of(this.annotations);
this.metadata = new SimpleAnnotationMetadata(this.className, this.access, this.enclosingClassName, this.superClassName, this.independentInnerClass, this.interfaceNames, this.memberClassNames, this.declaredMethods, annotations);
}
Aggregations