Move detecting java to FrameworkDetector. Search for markers only on project root update.
-- Try to compile JS with the knowledge about framework