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

项目:intellij-ce-playground    文件:JavaImportStatementElementType.java   
@Override
public PsiImportStatementBase createPsi(@NotNull final ASTNode node) {
  if (node instanceof ImportStaticStatementElement) {
    return new PsiImportStaticStatementImpl(node);
  }
  else {
    return new PsiImportStatementImpl(node);
  }
}
项目:tools-idea    文件:JavaImportStatementElementType.java   
@Override
public PsiImportStatementBase createPsi(@NotNull final ASTNode node) {
  if (node instanceof ImportStaticStatementElement) {
    return new PsiImportStaticStatementImpl(node);
  }
  else {
    return new PsiImportStatementImpl(node);
  }
}
项目:consulo-java    文件:JavaImportStatementElementType.java   
@Override
public PsiImportStatementBase createPsi(@NotNull final ASTNode node)
{
    if(node instanceof ImportStaticStatementElement)
    {
        return new PsiImportStaticStatementImpl(node);
    }
    else
    {
        return new PsiImportStatementImpl(node);
    }
}