String (@NotNull String currentTextPrefix) { ParametersListLexer lexer = new ParametersListLexer(currentTextPrefix); while (lexer.nextToken()) { if (lexer.getTokenEnd() == currentTextPrefix.length()) { return lexer.getCurrentToken(); } } return ""; }