static ClassReferencePointer constant(@NotNull PsiJavaCodeReferenceElement ref) {
    return new ClassReferencePointer() {
      @Override
      public @NotNull PsiJavaCodeReferenceElement retrieveReference() {
        return ref;
      }

      @Override
      public @NotNull PsiJavaCodeReferenceElement retrieveNonNullReference() {
        return ref;
      }
    };
  }
static ClassReferencePointer constant(@NotNull PsiJavaCodeReferenceElement ref)