private void runFileDetectors(@NonNull Project project, @Nullable Project main) {
// Look up manifest information (but not for library projects)
if (project.isAndroidProject()) {
for (File manifestFile : project.getManifestFiles()) {
XmlContext context = new XmlContext(this, project, main, manifestFile, null);
IDomParser parser = mClient.getDomParser();
if (parser != null) {
context.document = parser.parseXml(context);
if (context.document != null) {
try {