test_class.declarator: PARAM_WITH_WHITESPACE = "-Djboss.server.base.dir=Does contain whitespaces"
test_class.modifier: private static final
test_class.original_string: private static final String PARAM_WITH_WHITESPACE = "-Djboss.server.base.dir=Does contain whitespaces";
test_class.type: String
test_class.var_name: PARAM_WITH_WHITESPACE
test_class.declarator: QUOTED_PARAM_WITH_WHITESPACE = "\"" + PARAM_WITH_WHITESPACE + "\""
test_class.modifier: private static final
test_class.original_string: private static final String QUOTED_PARAM_WITH_WHITESPACE = "\"" + PARAM_WITH_WHITESPACE + "\"";
test_class.type: String
test_class.var_name: QUOTED_PARAM_WITH_WHITESPACE
test_class.declarator: PARAM_WITHOUT_WHITESPACE = "-Djboss.http.port=8080"
test_class.modifier: private static final
test_class.original_string: private static final String PARAM_WITHOUT_WHITESPACE = "-Djboss.http.port=8080";
test_class.type: String
test_class.var_name: PARAM_WITHOUT_WHITESPACE
test_class.file: common/src/test/java/org/jboss/as/arquillian/container/ParameterUtilsTest.java
test_class.identifier: ParameterUtilsTest
test_case.body: @Test
      public void onlyParamsWithWhitespaces() {
          List<String> splitParams = ParameterUtils.splitParams(QUOTED_PARAM_WITH_WHITESPACE.concat(" ").concat(QUOTED_PARAM_WITH_WHITESPACE).concat(QUOTED_PARAM_WITH_WHITESPACE));
          Assert.assertArrayEquals(new String[] {PARAM_WITH_WHITESPACE, PARAM_WITH_WHITESPACE, PARAM_WITH_WHITESPACE}, splitParams.toArray(new String[0]));
      }
test_case.class_method_signature: ParameterUtilsTest.onlyParamsWithWhitespaces()
test_case.full_signature: @Test public void onlyParamsWithWhitespaces()
test_case.identifier: onlyParamsWithWhitespaces
test_case.invocations: splitParams concat concat concat assertArrayEquals toArray
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void onlyParamsWithWhitespaces()
focal_class.declarator: WHITESPACE_IF_NOT_QUOTED = Pattern.compile("\"([^\"]*)\"|(\\S+)")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern WHITESPACE_IF_NOT_QUOTED = Pattern.compile("\"([^\"]*)\"|(\\S+)");
focal_class.type: Pattern
focal_class.var_name: WHITESPACE_IF_NOT_QUOTED
focal_class.file: common/src/main/java/org/jboss/as/arquillian/container/ParameterUtils.java
focal_class.identifier: ParameterUtils
focal_class.class_method_signature: ParameterUtils.splitParams(String parameterString)
focal_class.full_signature: public static List<String> splitParams(String parameterString)
focal_class.identifier: splitParams
focal_class.modifiers: public static
focal_class.parameters: (String parameterString)
focal_class.return: List<String>
focal_class.signature: List<String> splitParams(String parameterString)
focal_class.class_method_signature: ParameterUtils.ParameterUtils()
focal_class.full_signature: private  ParameterUtils()
focal_class.identifier: ParameterUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ParameterUtils()
focal_method.body: public static List<String> splitParams(String parameterString) {
  
          ArrayList<String> params = new ArrayList<>();
          Matcher m = WHITESPACE_IF_NOT_QUOTED.matcher(parameterString);
          while (m.find()) {
              if (m.group(1) != null) {
                  // Add double-quoted string without the quotes
                  params.add(m.group(1));
              } else {
                  // Add unquoted word
                  params.add(m.group(2));
              }
          }
          return params;
      }
focal_method.class_method_signature: ParameterUtils.splitParams(String parameterString)
focal_method.full_signature: public static List<String> splitParams(String parameterString)
focal_method.identifier: splitParams
focal_method.invocations: matcher find group add group add group
focal_method.modifiers: public static
focal_method.parameters: (String parameterString)
focal_method.return: List<String>
focal_method.signature: List<String> splitParams(String parameterString)