result.addFileNamePattern("*.java");
String[] javaExtensions= JavaCore.getJavaLikeExtensions(); for (int i= 0; i < javaExtensions.length; i++)  result.addFileNamePattern("*" + javaExtensions[i]);
	private static SearchScope createScope(IResource scope) {		SearchScope result= SearchScope.newSearchScope("", new IResource[] { scope }); //$NON-NLS-1$		// XXX: Should be configurable via preference, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=81117		result.addFileNamePattern("*.java"); //$NON-NLS-1$		result.addFileNamePattern("*.xml"); //$NON-NLS-1$		result.addFileNamePattern("*.ini"); //$NON-NLS-1$		return result;	}