IdentifierWithTypeArguments element = identifierWithTypeArguments.get(size - 1);
setNodeAttributes(element, null, input);
TypeArgumentsOrDiamondContext typeArgumentsOrDiamondContext =
(TypeArgumentsOrDiamondContext) input;
TypeArgumentsContext typeArgumentsContext =
getChild(typeArgumentsOrDiamondContext, TypeArgumentsContext.class);
if (typeArgumentsContext != null) {
element.setTypeArguments(
getAdapter(TypeArgumentsAdapter.class).adapt(typeArgumentsContext));
}