/** * Returns the class of the underling {@link Sensor} * * @return the underlying delegate's class */ @SuppressWarnings("unchecked") public Class<? extends Sensor<?>> getSensorClass() { return (Class<? extends Sensor<?>>) delegate.getClass(); }