I think we can specify the method like this:
/** * @return {@code Object[].class} - the type of the parameter array */ @Override Class<Object[]> getElementClass();