public static Optional<List<? extends Object>> getObjectListOptional(Config config,
            String path) {
        return Optional.ofNullable(getObjectList(config, path));
    }
public static Optional < List < ? extends Object > > getObjectListOptional ( Config config , String path ) { return Optional . ofNullable ( getObjectList ( config , path ) ) ; }
Get a configuration as list of Java objects. Return {@code null} if missing or wrong type.

@param config
@param path
@return