PrintElementWithGraphElement (@Nullable PrintElementWithGraphElement element) { if (element == null) return null; GraphElement convertedGraphElement = convertToDelegate(element.getGraphElement()); if (convertedGraphElement == null) return null; return PrintElementWithGraphElement.converted(element, convertedGraphElement); }