This commit is contained in:
Dmitry Avdeev
2015-05-27 20:07:41 +03:00
parent e064029842
commit 35f93ea5e5
2 changed files with 4 additions and 4 deletions
@@ -23,7 +23,7 @@ import org.jetbrains.annotations.Nullable;
import java.util.Collection;
/**
* A computation (typically an anonymous class) to used in {@link com.intellij.psi.util.CachedValue} to cache some computation result.
* A computation (typically an anonymous class) to used in {@link CachedValue} to cache some computation result.
* @param <T> the type of the cached value
*/
public interface CachedValueProvider<T> {
@@ -74,14 +74,14 @@ public interface CachedValueProvider<T> {
* Dependencies can be following:
* <ul>
* <li/>Instances of {@link com.intellij.openapi.util.ModificationTracker} returning stamps explicitly
* <li/>Constant fields of {@link PsiModificationTracker} class, e.g. {@link com.intellij.psi.util.PsiModificationTracker#MODIFICATION_COUNT}
* <li/>Constant fields of {@link PsiModificationTracker} class, e.g. {@link PsiModificationTracker#MODIFICATION_COUNT}
* <li/>{@link com.intellij.psi.PsiElement} or {@link com.intellij.openapi.vfs.VirtualFile} objects. Such cache would be dropped
* on any change in the corresponding file
* </ul>
*
* @return the dependency items
* @see com.intellij.openapi.util.ModificationTracker
* @see com.intellij.psi.util.PsiModificationTracker
* @see PsiModificationTracker
* @see com.intellij.openapi.roots.ProjectRootModificationTracker
*/
@NotNull
@@ -34,7 +34,7 @@ public class TextRange implements Segment, Serializable {
/**
* @param checkForProperTextRange <code>true</code> if offsets should be checked by {@link #assertProperRange(int, int, Object)}
* @see com.intellij.openapi.util.UnfairTextRange
* @see UnfairTextRange
*/
protected TextRange(int startOffset, int endOffset, boolean checkForProperTextRange) {
myStartOffset = startOffset;