Java 类com.intellij.psi.impl.source.PsiExpressionCodeFragmentImpl 实例源码

项目:intellij-ce-playground    文件:JavaCodeFragmentFactoryImpl.java   
@NotNull
@Override
public PsiExpressionCodeFragment createExpressionCodeFragment(@NotNull final String text,
                                                              @Nullable final PsiElement context,
                                                              @Nullable final PsiType expectedType,
                                                              final boolean isPhysical) {
  return new PsiExpressionCodeFragmentImpl(myProject, isPhysical, "fragment.java", text, expectedType, context);
}
项目:tools-idea    文件:JavaCodeFragmentFactoryImpl.java   
@NotNull
@Override
public PsiExpressionCodeFragment createExpressionCodeFragment(@NotNull final String text,
                                                              @Nullable final PsiElement context,
                                                              @Nullable final PsiType expectedType,
                                                              final boolean isPhysical) {
  return new PsiExpressionCodeFragmentImpl(myProject, isPhysical, "fragment.java", text, expectedType, context);
}
项目:consulo-java    文件:JavaCodeFragmentFactoryImpl.java   
@NotNull
@Override
public PsiExpressionCodeFragment createExpressionCodeFragment(@NotNull final String text, @Nullable final PsiElement context, @Nullable final PsiType expectedType, final boolean isPhysical)
{
    return new PsiExpressionCodeFragmentImpl(myProject, isPhysical, "fragment.java", text, expectedType, context);
}