|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2024 the original author or authors. |
|
|
|
|
* Copyright 2002-2025 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. |
|
|
|
|
@ -983,7 +983,7 @@ class MergedAnnotationsTests {
@@ -983,7 +983,7 @@ class MergedAnnotationsTests {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
void getDirectFromClassGetDirectFromClassMetaMetaAnnotatedClass() { |
|
|
|
|
void getDirectFromClassWithMetaMetaAnnotatedClass() { |
|
|
|
|
MergedAnnotation<?> annotation = MergedAnnotations.from( |
|
|
|
|
MetaMetaAnnotatedClass.class, SearchStrategy.TYPE_HIERARCHY).get(Component.class); |
|
|
|
|
assertThat(annotation.getString("value")).isEqualTo("meta2"); |
|
|
|
|
|