com.intellij.openapi.project.Project



Project JetBrains/intellij-community in file ...ntellij.featureStatistics.FeatureUsageTracker.java (2008-04-23)
@@ -16,6 +16,7 @@
 package com.intellij.featureStatistics;
 
 import com.intellij.openapi.application.ApplicationManager;
+import com.intellij.openapi.project.Project;
 import org.jetbrains.annotations.NonNls;
 
 /**
@@ -33,4 +34,6 @@ public abstract class FeatureUsageTracker {
   public abstract void triggerFeatureUsed(@NonNls String featureId);
 
   public abstract void triggerFeatureShown(@NonNls String featureId);
+
+  public abstract boolean isToBeShown(String featureId, Project project);
 }
Project JetBrains/intellij-community in file ....codeInsight.daemon.quickFix.QuickFixTestCase.java (2011-05-10)
@@ -17,6 +17,7 @@ package com.intellij.codeInsight.daemon.quickFix;
 
 import com.intellij.codeInsight.daemon.impl.HighlightInfo;
 import com.intellij.codeInsight.intention.IntentionAction;
+import com.intellij.openapi.project.Project;
 import com.intellij.openapi.util.Pair;
 import com.intellij.psi.PsiFile;
 
@@ -57,4 +58,6 @@ public interface QuickFixTestCase {
   void configureFromFileText(String name, String contents) throws Throwable;
 
   PsiFile getFile();
+
+  Project getProject();
 }
Project JetBrains/intellij-community in file ...roller.src.org.hanuna.gitalk.ui.UI_Controller.java (2013-05-23)
@@ -1,5 +1,6 @@
 package org.hanuna.gitalk.ui;
 
+import com.intellij.openapi.project.Project;
 import org.hanuna.gitalk.commit.Hash;
 import org.hanuna.gitalk.data.DataPack;
 import org.hanuna.gitalk.data.DataPackUtils;
@@ -65,4 +66,6 @@ public interface UI_Controller {
   DataPack getDataPack();
 
   DataPackUtils getDataPackUtils();
+
+  Project getProject();
 }
Project JetBrains/intellij-community in file ...pi.src.com.intellij.util.indexing.FileContent.java (2011-10-14)
@@ -17,6 +17,7 @@
 package com.intellij.util.indexing;
 
 import com.intellij.openapi.fileTypes.FileType;
+import com.intellij.openapi.project.Project;
 import com.intellij.openapi.util.UserDataHolder;
 import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.psi.PsiFile;
@@ -40,6 +41,8 @@ public interface FileContent extends UserDataHolder {
 
   CharSequence getContentAsText();
 
+  Project getProject();
+
   @NotNull
   PsiFile getPsiFile();
 }
Project JetBrains/intellij-community in file ...odule.impl.scopes.ModuleRuntimeClasspathScope.java (2009-05-16)
@@ -6,6 +6,7 @@ package com.intellij.openapi.module.impl.scopes;
 import com.intellij.openapi.module.Module;
 import com.intellij.openapi.roots.*;
 import com.intellij.openapi.vfs.VirtualFile;
+import com.intellij.openapi.project.Project;
 import com.intellij.psi.PsiBundle;
 import com.intellij.psi.search.GlobalSearchScope;
 import org.jetbrains.annotations.NotNull;
@@ -25,6 +26,7 @@ public class ModuleRuntimeClasspathScope extends GlobalSearchScope {
   private final Module myModule;
 
   public ModuleRuntimeClasspathScope(final Module module, boolean includeTests) {
+    super(module.getProject());
     myModule = module;
     myIndex = ProjectRootManager.getInstance(module.getProject()).getFileIndex();
     myIncludeTests = includeTests;