Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for hereHaveAString (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/eventbus/StringCatcher.java

     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class StringCatcher {
      private final List<String> events = new ArrayList<>();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top