Java 类com.intellij.psi.impl.source.tree.java.AnnotationMethodElement 实例源码

项目:intellij-ce-playground    文件:JavaMethodElementType.java   
@Override
public PsiMethod createPsi(@NotNull final ASTNode node) {
  if (node instanceof AnnotationMethodElement) {
    return new PsiAnnotationMethodImpl(node);
  }
  else {
    return new PsiMethodImpl(node);
  }
}
项目:tools-idea    文件:JavaMethodElementType.java   
@Override
public PsiMethod createPsi(@NotNull final ASTNode node) {
  if (node instanceof AnnotationMethodElement) {
    return new PsiAnnotationMethodImpl(node);
  }
  else {
    return new PsiMethodImpl(node);
  }
}
项目:consulo-java    文件:JavaMethodElementType.java   
@Override
public PsiMethod createPsi(@NotNull final ASTNode node)
{
    if(node instanceof AnnotationMethodElement)
    {
        return new PsiAnnotationMethodImpl(node);
    }
    else
    {
        return new PsiMethodImpl(node);
    }
}