boolean (@NotNull LighterAST tree, @NotNull LighterASTNode node, @NotNull StubElement parentStub) { LighterASTNode parent = tree.getParent(node); IElementType parentType = parent != null ? parent.getTokenType() : null; return shouldCreateStub(parentType); }