private boolean isStatic(Field field){
  int modifier=field.getModifiers();
  if (Modifier.isStatic(modifier)) {
    return true;
  }
  return false;
}

private boolean isStatic ( Field field ) { int modifier = field . getModifiers ( ) ; if ( Modifier . isStatic ( modifier ) ) { return true ; } return false ; }
this is used to determine if a field is static . if a field is static it should not be considered as a default field . this ensures the default annotation does not pick up static finals .
