core/src/main/java/com/google/errorprone/bugpatterns/checkreturnvalue/Rules.java
public static ResultUseRule mapAnnotationSimpleName(String simpleName, ResultUsePolicy policy) {
    return new SimpleRule(
        "ANNOTATION @" + simpleName,
        (sym, st) -> hasDirectAnnotationWithSimpleName(sym, simpleName),
        policy);
  }
/**
   * Returns a {@link ResultUseRule} that maps annotations with the given {@code simpleName} to the
   * given {@code policy}.
   */
Returns a  ResultUseRule that maps annotations with the given  simpleName to the
given  policy.
Returns a ResultUseRule that maps annotations with the given simpleName to the given policy .
public static ResultUseRule mapAnnotationSimpleName(String simpleName, ResultUsePolicy policy) {
    return new SimpleRule(
        "ANNOTATION @" + simpleName,
        (sym, st) -> hasDirectAnnotationWithSimpleName(sym, simpleName),
        policy);
  }
public static ResultUseRule mapAnnotationSimpleName ( String simpleName , ResultUsePolicy policy ) { return new SimpleRule ( "ANNOTATION @" + simpleName , ( sym , st ) -> hasDirectAnnotationWithSimpleName ( sym , simpleName ) , policy ) ; }
Returns a {@link ResultUseRule} that maps annotations with the given {@code simpleName} to the
 given {@code policy}.
Returns a { @link ResultUseRule } that maps annotations with the given { @code simpleName } to the given { @code policy } .