private <T> List<T> getAsList(T passedValue) {
    if (passedValue == null) {
      return null;
    }
    List<T> result = new ArrayList<T>();
    result.add(passedValue);
    return result;
  }
private < T > List < T > getAsList ( T passedValue ) { if ( passedValue == null ) { return null ; } List < T > result = new ArrayList < T > ( ) ; result . add ( passedValue ) ; return result ; }
Returns the list value to use for the given parameter passed to the setter method.