This commit is contained in:
wea_ondara 2020-07-29 22:45:48 +02:00
parent ae23794b43
commit ae95ad8fe7

View File

@ -14,7 +14,6 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
public class ReflectionUtils {
@ -88,8 +87,7 @@ public class ReflectionUtils {
return list;
}
}
private static Class<?> UNMODIFIABLE_MAP = Collections.unmodifiableMap(Collections.EMPTY_MAP).getClass();
public static Object getHandle(Object wrapper) {
final Method getHandle = makeMethod(wrapper.getClass(), "getHandle");
return callMethod(getHandle, wrapper);