|
@@ -16,6 +16,7 @@ import lombok.NonNull;
|
|
|
|
|
|
public class CopyUtils {
|
|
|
|
|
|
+ @Deprecated
|
|
|
public static String[] ignoreNullNames(@NonNull Object source) {
|
|
|
|
|
|
final BeanWrapper beanWrapper = new BeanWrapperImpl(source);
|
|
@@ -47,6 +48,10 @@ public class CopyUtils {
|
|
|
return noValuePropertySet.toArray(result);
|
|
|
}
|
|
|
|
|
|
+ public static String[] nullNames(@NonNull Object source){
|
|
|
+ return ignoreNullNames(source);
|
|
|
+ }
|
|
|
+
|
|
|
public static String[] notNullNames(@NonNull Object source) {
|
|
|
|
|
|
final BeanWrapper beanWrapper = new BeanWrapperImpl(source);
|