ImportBinding[] getDefaultImports() {
	// initialize the default imports if necessary... share the default java.lang.* import
	Binding importBinding = environment.defaultPackage;
//	if (importBinding != null)
//		importBinding = ((PackageBinding) importBinding).getTypeOrPackage(JAVA_LANG[1]);

	// abort if java.lang cannot be found...
	if (importBinding == null || !importBinding.isValidBinding()) {
	// create a proxy for the missing BinaryType
//		MissingBinaryTypeBinding missingObject = environment.cacheMissingBinaryType(JAVA_LANG_OBJECT, this.referenceContext);
//		importBinding = missingObject.fPackage;
	}
	ImportBinding systemJSBinding = null;
	if (environment.defaultImports != null)
	{
		systemJSBinding=environment.defaultImports[0];
	}
//	else
//	{
//		systemJSBinding=new ImportBinding(new char[][] {SystemLibraryLocation.SYSTEM_LIBARAY_NAME}, true, importBinding, (ImportReference)null);
//		environment.defaultImports=new ImportBinding[]{systemJSBinding};
//	}

	
	
	ImportBinding[] defaultImports=null;
	String[] contextIncludes=null;
//	InferrenceProvider[] inferenceProviders = InferrenceManager.getInstance().getInferenceProviders(this.referenceContext);
//    if (inferenceProviders!=null &&inferenceProviders.length>0)
//    {
//    	contextIncludes = inferenceProviders[0].getResolutionConfiguration().getContextIncludes();
//    }
    if (contextIncludes!=null && contextIncludes.length>0)
    {
      ArrayList list = new ArrayList();
      list.add(systemJSBinding);
      for (int i = 0; i < contextIncludes.length; i++) {
		String include=contextIncludes[i];
		if (include!=null)
		{
			int index=Util.indexOfJavaLikeExtension(include);
			if (index>=0)
				include=include.substring(0,index);
			include=include.replace('.', FILENAME_DOT_SUBSTITUTION);
			char [][] qualifiedName=CharOperation.splitOn('/', include.toCharArray());
			Binding binding=findImport(qualifiedName, qualifiedName.length);
			if (binding.isValidBinding())
			{
				list.add(new ImportBinding(qualifiedName, true, binding, null));
			}
		}
	  }
      defaultImports = ( ImportBinding[])list.toArray( new ImportBinding[list.size()]);
    }
    else
    	defaultImports = new ImportBinding[] {systemJSBinding};
	return defaultImports ;
}