* to check if PSI has changed since they accessed it last time. This can be used to flush and rebuild various internal caches.
* See {@link #getModificationCount()}, {@link #getJavaStructureModificationCount()}, {@link #getOutOfCodeBlockModificationCount()}
*
- * <li/> Make a {@link com.intellij.psi.util.CachedValue} instance dependent on a specific PSI modification tracker.
- * To achieve that, one should can one of the constants in this interface as {@link com.intellij.psi.util.CachedValueProvider.Result}
+ * <li/> Make a {@link CachedValue} instance dependent on a specific PSI modification tracker.
+ * To achieve that, one should can one of the constants in this interface as {@link CachedValueProvider.Result}
* dependencies.
* See {@link #MODIFICATION_COUNT}, {@link #JAVA_STRUCTURE_MODIFICATION_COUNT}, {@link #OUT_OF_CODE_BLOCK_MODIFICATION_COUNT}
*
* <li/> Subscribe to any PSI change (for example, to drop caches in the listener manually).
- * See {@link com.intellij.psi.util.PsiModificationTracker.Listener}
+ * See {@link PsiModificationTracker.Listener}
*
* </ol>
*/
public interface PsiModificationTracker extends ModificationTracker {
/**
- * Provides a way to get the instance of {@link com.intellij.psi.util.PsiModificationTracker} corresponding to a given project.
- * @see #getInstance(com.intellij.openapi.project.Project)
+ * Provides a way to get the instance of {@link PsiModificationTracker} corresponding to a given project.
+ * @see #getInstance(Project)
*/
class SERVICE {
private SERVICE() {
/**
* @param project
- * @return The instance of {@link com.intellij.psi.util.PsiModificationTracker} corresponding to the given project.
+ * @return The instance of {@link PsiModificationTracker} corresponding to the given project.
*/
public static PsiModificationTracker getInstance(Project project) {
return ServiceManager.getService(project, PsiModificationTracker.class);
}
/**
- * This key can be passed as a dependency in a {@link com.intellij.psi.util.CachedValueProvider}.
- * The corresponding {@link com.intellij.psi.util.CachedValue} will then be flushed on every physical PSI change.
+ * This key can be passed as a dependency in a {@link CachedValueProvider}.
+ * The corresponding {@link CachedValue} will then be flushed on every physical PSI change.
* @see #getModificationCount()
*/
Key MODIFICATION_COUNT = Key.create("MODIFICATION_COUNT");
/**
- * This key can be passed as a dependency in a {@link com.intellij.psi.util.CachedValueProvider}.
- * The corresponding {@link com.intellij.psi.util.CachedValue} will then be flushed on every physical PSI change that doesn't happen inside a Java code block.
+ * This key can be passed as a dependency in a {@link CachedValueProvider}.
+ * The corresponding {@link CachedValue} will then be flushed on every physical PSI change that doesn't happen inside a Java code block.
* This can include changes on Java class or file level, or changes in non-Java files, e.g. XML. Rarely needed.
* @see #getOutOfCodeBlockModificationCount()
*/
Key OUT_OF_CODE_BLOCK_MODIFICATION_COUNT = Key.create("OUT_OF_CODE_BLOCK_MODIFICATION_COUNT");
/**
- * This key can be passed as a dependency in a {@link com.intellij.psi.util.CachedValueProvider}.
- * The corresponding {@link com.intellij.psi.util.CachedValue} will then be flushed on every physical PSI change that can affect Java structure and resolve.
+ * This key can be passed as a dependency in a {@link CachedValueProvider}.
+ * The corresponding {@link CachedValue} will then be flushed on every physical PSI change that can affect Java structure and resolve.
* @see #getJavaStructureModificationCount()
*/
Key JAVA_STRUCTURE_MODIFICATION_COUNT = Key.create("JAVA_STRUCTURE_MODIFICATION_COUNT");