@SuppressWarnings({"UnresolvedPropertyKey"})
  public @NotNull @InspectionMessage String getUnresolvedMessagePattern(int index){
    if (canReferencePackage(index)) {
      return JavaErrorBundle.message("error.cannot.resolve.class.or.package");
    }
    return JavaErrorBundle.message("error.cannot.resolve.class");
  }
@SuppressWarnings({"UnresolvedPropertyKey"})
  public @NotNull @InspectionMessage String getUnresolvedMessagePattern(int index)