Polishing
This commit is contained in:
parent
530fb0808d
commit
01bf1c9021
|
@ -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");
|
||||
* 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)}.
|
||||
* @param field the field to set
|
||||
* @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})
|
||||
*/
|
||||
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)}.
|
||||
* @param field the field to get
|
||||
* @param target the target object from which to get the field
|
||||
* (or {@code null} for a static field)
|
||||
* @return the field's current value
|
||||
*/
|
||||
@Nullable
|
||||
|
|
Loading…
Reference in New Issue