>>> class Foo { static ExportElementImpl exportFor(LibraryElement exportedLibrary, [List combinators = NamespaceCombinator .EMPTY_LIST]) { ExportElementImpl spec = new ExportElementImpl(-1); spec.exportedLibrary = exportedLibrary; spec.combinators = combinators; return spec; } } <<< class Foo { static ExportElementImpl exportFor( LibraryElement exportedLibrary, [ List combinators = NamespaceCombinator.EMPTY_LIST, ]) { ExportElementImpl spec = new ExportElementImpl(-1); spec.exportedLibrary = exportedLibrary; spec.combinators = combinators; return spec; } }