@Override
  @NotNull
  protected String buildErrorString(Object... infos) {
    boolean isMethodCall = (Boolean)infos[0];
    return isMethodCall
           ? InspectionGadgetsBundle.message("law.of.demeter.problem.descriptor")
           : InspectionGadgetsBundle.message("law.of.demeter.field.problem.descriptor");
  }
@Override
  @NotNull
  protected String buildErrorString(Object... infos)