Skip to content

Commit

Permalink
Start migration annotation utility methods
Browse files Browse the repository at this point in the history
Create internal variants of the existing `AnnotationUtils` and
`AnnotatedElementUtils` classes and migrate the existing classes to
use them.

The internal variants will be used to check that the same results are
given as we migrate the utils methods to use the new `MergedAnnotations`
API.

See spring-projectsgh-22562
  • Loading branch information
philwebb committed Mar 14, 2019
1 parent 48e8256 commit 5316769
Show file tree
Hide file tree
Showing 10 changed files with 4,141 additions and 2,676 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-2019 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.
Expand Down Expand Up @@ -64,7 +64,7 @@ abstract class AbstractAliasAwareAnnotationAttributeExtractor<S> implements Anno
this.annotationType = annotationType;
this.annotatedElement = annotatedElement;
this.source = source;
this.attributeAliasMap = AnnotationUtils.getAttributeAliasMap(annotationType);
this.attributeAliasMap = InternalAnnotationUtils.getAttributeAliasMap(annotationType);
}


Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 5316769

Please sign in to comment.