|
|
|
|
@ -141,8 +141,7 @@ public class InjectionMetadata {
@@ -141,8 +141,7 @@ public class InjectionMetadata {
|
|
|
|
|
* Return an {@code InjectionMetadata} instance, possibly for empty elements. |
|
|
|
|
* @param elements the elements to inject (possibly empty) |
|
|
|
|
* @param clazz the target class
|
|
|
|
|
* @return a new {@link #InjectionMetadata(Class, Collection)} instance, |
|
|
|
|
* or {@link #EMPTY} in case of no elements |
|
|
|
|
* @return a new {@link #InjectionMetadata(Class, Collection)} instance |
|
|
|
|
* @since 5.2 |
|
|
|
|
*/ |
|
|
|
|
public static InjectionMetadata forElements(Collection<InjectedElement> elements, Class<?> clazz) { |
|
|
|
|
|