@Override
    public boolean accept(final Object entity) {
        return entity != null && acceptedType.isAssignableFrom(entity.getClass());
    }
@Override
    public boolean accept(final Object entity) {
        return entity != null && acceptedType.isAssignableFrom(entity.getClass());
    }
@ Override public boolean accept ( final Object entity ) { return entity != null && acceptedType . isAssignableFrom ( entity . getClass ( ) ) ; }
{@inheritDoc}
{