void (String text) { int flags = BasicReferenceParser.ELLIPSIS | BasicReferenceParser.DIAMONDS | BasicReferenceParser.DISJUNCTIONS; doParserTest(text, builder -> JavaParser.INSTANCE.getReferenceParser().parseType(builder, flags)); }