Esempio n. 1
0
 public static void setGenSrcDir(IJavaProject jproject, String dirString) {
   if (!GeneratedSourceFolderManager.validate(jproject, dirString)) {
     throw new IllegalArgumentException(
         "Illegal name for generated source folder: " + dirString); // $NON-NLS-1$
   }
   setString(jproject, AptPreferenceConstants.APT_GENSRCDIR, dirString);
 }
Esempio n. 2
0
 public static boolean validateGenSrcDir(IJavaProject jproject, String dirName) {
   return GeneratedSourceFolderManager.validate(jproject, dirName);
 }