private static boolean isStatic(FieldDeclaration field) {
    for (Object o : field.modifiers()) {
      if (o instanceof Modifier && 
          ((Modifier)o).getKeyword() == ModifierKeyword.STATIC_KEYWORD) {
        return true;
      }
    }
    return false;
  }