private <T> boolean doIsLive(T domainObject) { @SuppressWarnings("unchecked") Class<T> clazz = (Class<T>) domainObject.getClass(); Locator<T, ?> l = getLocator(clazz); if (l == null) { return super.isLive(domainObject); } return l.isLive(domainObject); }
private <T> boolean doIsLive(T domainObject) { @SuppressWarnings("unchecked") Class<T> clazz = (Class<T>) domainObject.getClass(); Locator<T, ?> l = getLocator(clazz); if (l == null) { return super.isLive(domainObject); } return l.isLive(domainObject); }
private <T> boolean doIsLive(T domainObject) { @SuppressWarnings("unchecked") Class<T> clazz = (Class<T>) domainObject.getClass(); Locator<T, ?> l = getLocator(clazz); if (l == null) { return super.isLive(domainObject); } return l.isLive(domainObject); }
private <T> boolean doIsLive(T domainObject) { @SuppressWarnings("unchecked") Class<T> clazz = (Class<T>) domainObject.getClass(); Locator<T, ?> l = getLocator(clazz); if (l == null) { return super.isLive(domainObject); } return l.isLive(domainObject); }