(@NonNull Object object)
| 41 | public final class PojoUtil { |
| 42 | |
| 43 | public static boolean isUserPojo(@NonNull Object object) { |
| 44 | val type = object.getClass(); |
| 45 | val packageName = type.getPackage().getName(); |
| 46 | return !packageName.startsWith("java."); |
| 47 | } |
| 48 | |
| 49 | public static boolean isUserPojo(@NonNull Type type) { |
| 50 | val typeName = type.toString(); |
no test coverage detected