Polishing

This commit is contained in:
Juergen Hoeller 2021-03-09 00:08:03 +01:00
parent 530fb0808d
commit 01bf1c9021
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2020 the original author or authors. * Copyright 2002-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -625,6 +625,7 @@ public abstract class ReflectionUtils {
* <p>Thrown exceptions are handled via a call to {@link #handleReflectionException(Exception)}. * <p>Thrown exceptions are handled via a call to {@link #handleReflectionException(Exception)}.
* @param field the field to set * @param field the field to set
* @param target the target object on which to set the field * @param target the target object on which to set the field
* (or {@code null} for a static field)
* @param value the value to set (may be {@code null}) * @param value the value to set (may be {@code null})
*/ */
public static void setField(Field field, @Nullable Object target, @Nullable Object value) { public static void setField(Field field, @Nullable Object target, @Nullable Object value) {
@ -644,6 +645,7 @@ public abstract class ReflectionUtils {
* <p>Thrown exceptions are handled via a call to {@link #handleReflectionException(Exception)}. * <p>Thrown exceptions are handled via a call to {@link #handleReflectionException(Exception)}.
* @param field the field to get * @param field the field to get
* @param target the target object from which to get the field * @param target the target object from which to get the field
* (or {@code null} for a static field)
* @return the field's current value * @return the field's current value
*/ */
@Nullable @Nullable