import com.google.common.annotations.VisibleForTesting;

class Foo {
  private int foo1;
  int foo2;
  protected int foo3;
  public int foo4; // Noncompliant [[sc=14;ec=18]] {{Make foo4 a static final constant or non-public and provide accessors if needed.}}

  public static int foo5; // Noncompliant {{Make foo5 a static final constant or non-public and provide accessors if needed.}}
  public final int foo6; // Compliant

  private static final int bar1;
  static final int bar2;
  protected static final int bar3;
  public static final int bar4; // Compliant
  public final static int bar5; // Compliant

  @VisibleForTesting
  public int foo; // Compliant
  static interface blah {
    public String howdy = "Well, hello there!";
  }

  public long l1; // Noncompliant {{Make l1 a static final constant or non-public and provide accessors if needed.}}
}

interface bar {
  public int blah = 0;

}
