public boolean canBeModifiedReflectively(){
  if (field.isSynthetic()) {
    return false;
  }
  int modifiers=field.getModifiers();
  if (Modifier.isFinal(modifiers) && Modifier.isStatic(modifiers)) {
    return false;
  }
  return true;
}

public boolean canBeModifiedReflectively ( ) { if ( field . isSynthetic ( ) ) { return false ; } int modifiers = field . getModifiers ( ) ; if ( Modifier . isFinal ( modifiers ) && Modifier . isStatic ( modifiers ) ) { return false ; } return true ; }
determines whether the field can be modified using reflection .
