code: protected Optional<Value> solveWithAsValue(SymbolDeclarator symbolDeclarator, String name, TypeSolver typeSolver) {
          return symbolDeclarator.getSymbolDeclarations().stream()
                  .filter(d -> d.getName().equals(name))
                  .map(d -> Value.from(d))
                  .findFirst();
      }
docs: /