void (LighterAST tree, LighterASTNode codeRef, StringBuilder buf) { for (LighterASTNode node : tree.getChildren(codeRef)) { final IElementType tokenType = node.getTokenType(); if (tokenType == JavaTokenType.IDENTIFIER) { buf.append(RecordUtil.intern(tree.getCharTable(), node)); } else if (tokenType == JavaElementType.REFERENCE_PARAMETER_LIST) { formatTypeParameters(tree, node, buf); } } }