public MySqlArgumentsResultSet(ResultSet resultSet) throws SQLException {
List<Argument> argumentList = new ArrayList<Argument>();
while (resultSet.next()) {
String argumentsString = resultSet.getString("ARGUMENTS");
WordTokenizer wordTokenizer = new WordTokenizer(argumentsString);
String methodName = resultSet.getString("METHOD_NAME");
String methodType = resultSet.getString("METHOD_TYPE");
boolean betweenBrackets = false;
boolean typePostfixSet = false;
int argumentPosition = methodType.equals("FUNCTION") ? 0 : 1;
Argument argument = null;
for (String token : wordTokenizer.getTokens()) {
if (argument == null) {
typePostfixSet = false;
argument = new Argument();
argument.methodName = methodName;
argument.methodType = methodType;