JavaCodeFragment (@NotNull String text, @Nullable PsiElement context, boolean isPhysical) { return new PsiCodeFragmentImpl(myProject, JavaElementType.MEMBERS, isPhysical, "fragment.java", text, context); }