public JavaClassReference(
     final JavaClassReferenceSet referenceSet,
     TextRange range,
     int index,
     String text,
     final boolean staticImport) {
   super(referenceSet.getProvider());
   myInStaticImport = staticImport;
   LOG.assertTrue(range.getEndOffset() <= referenceSet.getElement().getTextLength());
   myIndex = index;
   myRange = range;
   myText = text;
   myJavaClassReferenceSet = referenceSet;
 }
 public PsiElement getElement() {
   return myJavaClassReferenceSet.getElement();
 }