code: public static @Nonnull Predicate nameIs(final @Nonnull String name) {
          return new Predicate() {
              @Override
              public boolean isValid(@Nonnull ProcessThread<?, ?, ?> thread) {
                  return thread.getName().equals(name);
              }
          };
      }
docs: Match thread by name.