code: public static boolean isPublicStatic(Field f) {
          final int modifiers = f.getModifiers();
          return Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers);
      }
docs: Determine whether the field is declared public static
  @param f
  @return true if the field is declared public static