• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package me.tomassetti.symbolsolver.javaparser;
2
3import com.github.javaparser.ast.CompilationUnit;
4import com.github.javaparser.ast.Node;
5import com.github.javaparser.ast.body.BodyDeclaration;
6import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration;
7import com.github.javaparser.ast.body.MethodDeclaration;
8import com.github.javaparser.ast.body.TypeDeclaration;
9import com.github.javaparser.ast.expr.NameExpr;
10
11import java.util.stream.Stream;
12
13import java.util.Optional;
14
15/**
16 * This class can be used to conveniently retrieve certain node from a JavaParser AST.
17 */
18public final class Navigator {
19
20    private Navigator() {
21        // prevent instantiation
22    }
23
24    public static void findType() {
25        Stream<String> s = null;
26        s.filter((t)->t.isEmpty());
27    }
28
29    public void foo(Stream<String> s){
30
31    }
32
33}