fooParser.setSource(toBeParsed.toCharArray());
fooParser.setResolveBindings(true);
ASTNode parsedAstNode = fooParser.createAST(null);
ASTFinder visitor = new ASTFinder();
parsedAstNode.accept(visitor);
return visitor;
}
public static ITypeBinding getTargetTypeBinding(IJavaProject javaProject, IType targetType) {
IBinding binding = getBinding(javaProject, targetType, targetType.getCompilationUnit(),