InnerCreatorContext innerCreatorContext = getChild(context, InnerCreatorContext.class);
if (innerCreatorContext != null) {
TerminalNode typeIdentifierNode =
getTerminalNode(innerCreatorContext, JavaParser.Identifier);
NonWildcardTypeArgumentsOrDiamondContext nonWildcardTypeArgumentsOrDiamondContext =
getChild(innerCreatorContext, NonWildcardTypeArgumentsOrDiamondContext.class);
TypeWithArguments typeWithArguments =
createNode(typeIdentifierNode,
nonWildcardTypeArgumentsOrDiamondContext == null
? typeIdentifierNode