private static void setDefaultValue(Definition def, String className, String stringValue)
   {
      if (className.endsWith(stringValue))
         def.setDefaultValue(className.substring(0, className.length() - stringValue.length()));
   }
private static void setDefaultValue ( Definition def , String className , String stringValue ) { if ( className . endsWith ( stringValue ) ) def . setDefaultValue ( className . substring ( 0 , className . length ( ) - stringValue . length ( ) ) ) ; }
check defalut value and set it

@param def         definition
@param className   the class name
@param stringValue post-fix string