public static void collectImports(final IJavaProject project,final ASTNode node,final Collection<ITypeBinding> typeBindings,final Collection<IBinding> staticBindings,final boolean declarations){
  collectImports(project,node,typeBindings,staticBindings,null,declarations);
}

public static void collectImports ( final IJavaProject project , final ASTNode node , final Collection < ITypeBinding > typeBindings , final Collection < IBinding > staticBindings , final boolean declarations ) { collectImports ( project , node , typeBindings , staticBindings , null , declarations ) ; }
collects the necessary imports for an element represented by the specified ast node .
