PsiElement (@NotNull PsiImportStaticStatement importStatement, @NotNull PsiElementFactory elementFactory) { PsiClass targetClass = importStatement.resolveTargetClass(); String memberName = importStatement.getReferenceName(); if (targetClass != null && memberName != null) { return elementFactory.createImportStaticStatement(targetClass, memberName); } return null; }