Java 类com.intellij.psi.impl.smartPointers.SelfElementInfo 实例源码

项目:intellij-ce-playground    文件:PsiAnchor.java   
@Override
@Nullable
public PsiElement retrieve() {
  PsiFile psiFile = getFile();
  if (psiFile == null || !psiFile.isValid()) return null;

  return SelfElementInfo.findElementInside(psiFile, myStartOffset, myEndOffset, myClass, myLanguage);
}
项目:intellij-ce-playground    文件:PsiAnchor.java   
@Override
@Nullable
public PsiFile getFile() {
  return SelfElementInfo.restoreFileFromVirtual(myVirtualFile, myProject, myFileLanguage);
}
项目:intellij-ce-playground    文件:PsiAnchor.java   
@Override
@Nullable
public PsiFile getFile() {
  return SelfElementInfo.restoreFileFromVirtual(myFile, myProject, myLanguage);
}
项目:intellij-ce-playground    文件:PsiAnchor.java   
@Override
public PsiElement retrieve() {
  return SelfElementInfo.restoreDirectoryFromVirtual(myFile, myProject);
}
项目:tools-idea    文件:PsiAnchor.java   
@Override
@Nullable
public PsiFile getFile() {
  return SelfElementInfo.restoreFileFromVirtual(myVirtualFile, myProject, myFileLanguage);
}
项目:tools-idea    文件:PsiAnchor.java   
@Override
@Nullable
public PsiFile getFile() {
  return SelfElementInfo.restoreFileFromVirtual(myFile, myProject, myLanguage);
}
项目:tools-idea    文件:PsiAnchor.java   
@Override
public PsiElement retrieve() {
  return SelfElementInfo.restoreDirectoryFromVirtual(myFile, myProject);
}
项目:consulo    文件:PsiAnchor.java   
@Override
@Nullable
public PsiFile getFile() {
  return SelfElementInfo.restoreFileFromVirtual(myVirtualFile, myProject, myInfo.getFileLanguage());
}
项目:consulo    文件:PsiAnchor.java   
@Override
@Nullable
public PsiFile getFile() {
  return SelfElementInfo.restoreFileFromVirtual(myFile, myProject, myLanguage);
}
项目:consulo    文件:PsiAnchor.java   
@Override
public PsiElement retrieve() {
  return SelfElementInfo.restoreDirectoryFromVirtual(myFile, myProject);
}
项目:consulo    文件:InjectionRegistrarImpl.java   
private static Segment calcActualRange(@Nonnull PsiFile containingFile, @Nonnull Document document, @Nonnull Segment range) {
  return SelfElementInfo.calcActualRangeAfterDocumentEvents(containingFile, document, range, true);
}