public boolean isEmpty(String value){
  if (value != null) {
    return value.length() == 0;
  }
  return true;
}

public boolean isEmpty ( String value ) { if ( value != null ) { return value . length ( ) == 0 ; } return true ; }
this method is used to determine if a root annotation value is an empty value . rather than determining if a string is empty be comparing it to an empty string this method allows for the value an empty string represents to be changed in future .
