PsiElement (ASTNode node) { final IElementType type = node.getElementType(); if (type instanceof NotNullFunction) { return ((NotNullFunction<ASTNode, PsiElement>)type).fun(node); } return new MyRncElement(node); }