@Override public boolean hasValuesDescription(){
  return restrictionClass != null && restrictionClass != Object.class;
}

@ Override public boolean hasValuesDescription ( ) { return restrictionClass != null && restrictionClass != Object . class ; }
this class sometimes provides a list of value descriptions .
