/** * Gets an empty metadata instance. * <p> * This is used when the actual metadata is not known. * * @return the empty instance */ public static ParameterMetadata empty() { return EmptyParameterMetadata.empty(); }
/** * Gets a list of empty metadata instances. * <p> * This is used when there the actual metadata is not known. * * @param size the size of the resulting list * @return the empty instance */ public static List<ParameterMetadata> listOfEmpty(int size) { return Collections.nCopies(size, EmptyParameterMetadata.empty()); }