The following issues were found

guava/src/com/google/common/util/concurrent/TimeLimiter.java
1 issues
The String literal 'GoodTime' appears 5 times in this file; the first occurrence is on line 84
Error

Line: 84

                 * @throws IllegalArgumentException if {@code interfaceType} is a regular class, enum, or
   *     annotation type, rather than an interface
   */
  @SuppressWarnings("GoodTime") // should accept a java.time.Duration
  <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit);

  /**
   * Returns an instance of {@code interfaceType} that delegates all method calls to the {@code
   * target} object, enforcing the specified time limit on each call. This time-limited delegation

            

Reported by PMD.

guava/src/com/google/common/collect/AbstractSequentialIterator.java
1 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 45

              @GwtCompatible
@ElementTypesAreNonnullByDefault
public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> {
  @CheckForNull private T nextOrNull;

  /**
   * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null,
   * creates a new empty iterator.
   */

            

Reported by PMD.

guava/src/com/google/common/collect/ConsumingQueueIterator.java
1 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 31

              @GwtCompatible
@ElementTypesAreNonnullByDefault
final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> {
  private final Queue<T> queue;

  ConsumingQueueIterator(Queue<T> queue) {
    this.queue = checkNotNull(queue);
  }


            

Reported by PMD.

guava/src/com/google/common/collect/RangeSet.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 56

              @DoNotMock("Use ImmutableRangeSet or TreeRangeSet")
@GwtIncompatible
@ElementTypesAreNonnullByDefault
public interface RangeSet<C extends Comparable> {
  // TODO(lowasser): consider adding default implementations of some of these methods

  // Query methods

  /** Determines whether any of this range set's member ranges contains {@code value}. */

            

Reported by PMD.

guava/src/com/google/common/hash/HashingOutputStream.java
1 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 33

              @Beta
@ElementTypesAreNonnullByDefault
public final class HashingOutputStream extends FilterOutputStream {
  private final Hasher hasher;

  /**
   * Creates an output stream that hashes using the given {@link HashFunction}, and forwards all
   * data written to it to the underlying {@link OutputStream}.
   *

            

Reported by PMD.

guava/src/com/google/common/hash/HashingInputStream.java
1 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 34

              @Beta
@ElementTypesAreNonnullByDefault
public final class HashingInputStream extends FilterInputStream {
  private final Hasher hasher;

  /**
   * Creates an input stream that hashes using the given {@link HashFunction} and delegates all data
   * read from it to the underlying {@link InputStream}.
   *

            

Reported by PMD.

guava/src/com/google/common/cache/ReferenceEntry.java
1 issues
The String literal 'GoodTime' appears 4 times in this file; the first occurrence is on line 69
Error

Line: 69

                 */

  /** Returns the time that this entry was last accessed, in ns. */
  @SuppressWarnings("GoodTime")
  long getAccessTime();

  /** Sets the entry access time in ns. */
  @SuppressWarnings("GoodTime") // b/122668874
  void setAccessTime(long time);

            

Reported by PMD.

guava/src/com/google/common/hash/Hasher.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 59

              @Beta
@CanIgnoreReturnValue
@ElementTypesAreNonnullByDefault
public interface Hasher extends PrimitiveSink {
  @Override
  Hasher putByte(byte b);

  @Override
  Hasher putBytes(byte[] bytes);

            

Reported by PMD.

guava/src/com/google/common/collect/RangeMap.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 44

              @DoNotMock("Use ImmutableRangeMap or TreeRangeMap")
@GwtIncompatible
@ElementTypesAreNonnullByDefault
public interface RangeMap<K extends Comparable, V> {
  /*
   * TODO(cpovirk): These docs sometimes say "map" and sometimes say "range map." Pick one, or at
   * least decide on a policy for when to use which.
   */


            

Reported by PMD.

guava/src/com/google/common/hash/HashFunction.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 120

               */
@Immutable
@ElementTypesAreNonnullByDefault
public interface HashFunction {
  /**
   * Begins a new hash code computation by returning an initialized, stateful {@code Hasher}
   * instance that is ready to receive data. Example:
   *
   * <pre>{@code

            

Reported by PMD.