private static LighterASTNode findClass(LighterAST tree, LighterASTNode node) {
    return JBIterable.generate(node, tree::getParent).find(n -> n.getTokenType() == CLASS);
  }
private static LighterASTNode findClass(LighterAST tree, LighterASTNode node)