/** Adds a warning if a {@link Produces @Produces} method is declared nullable. */
// TODO(beder): Properly handle nullable with producer methods.
private void checkNullable() {
      if (ConfigurationAnnotations.getNullableType(element).isPresent()) {
        report.addWarning("@Nullable on @Produces methods does not do anything");
      }
    }
private void checkNullable() {
if (ConfigurationAnnotations.getNullableType(element).isPresent()) {
report.addWarning("@Nullable on @Produces methods does not do anything");
}
}
private void checkNullable() {
if (ConfigurationAnnotations.getNullableType(element).isPresent()) {
report.addWarning("@Nullable on @Produces methods does not do anything");
}
}
private void checkNullable() {
if (ConfigurationAnnotations.getNullableType(element).isPresent()) {
report.addWarning("@Nullable on @Produces methods does not do anything");
}
}