public static List<JsonPointer> filter(final String... fields){
  final List<JsonPointer> result=new ArrayList<>(fields.length);
  for (  final String field : fields) {
    result.add(new JsonPointer(field));
  }
  return result;
}

public static List < JsonPointer > filter ( final String ... fields ) { final List < JsonPointer > result = new ArrayList < > ( fields . length ) ; for ( final String field : fields ) { result . add ( new JsonPointer ( field ) ) ; } return result ; }
creates a list of json pointers from the provided string representations .
