@Override protected Set<Class<? extends Annotation>> createSupportedTypeQualifiers(){
  AnnotationClassLoader loader=new AnnotationClassLoader(checker);
  Set<Class<? extends Annotation>> qualSet=new LinkedHashSet<Class<? extends Annotation>>();
  String qualNames=checker.getOption("quals");
  String qualDirectories=checker.getOption("qualDirs");
  if (qualNames != null) {
    for (    String qualName : qualNames.split(",")) {
      qualSet.add(loader.loadExternalAnnotationClass(qualName));
    }
  }
  if (qualDirectories != null) {
    for (    String dirName : qualDirectories.split(":")) {
      qualSet.addAll(loader.loadExternalAnnotationClassesFromDirectory(dirName));
    }
  }
  qualSet.add(FenumTop.class);
  qualSet.add(Fenum.class);
  qualSet.add(FenumUnqualified.class);
  qualSet.add(FenumBottom.class);
  qualSet.add(PolyFenum.class);
  qualSet.addAll(getBundledTypeQualifiersWithPolyAll());
  return qualSet;
}

@ Override protected Set < Class < ? extends Annotation > > createSupportedTypeQualifiers ( ) { AnnotationClassLoader loader = new AnnotationClassLoader ( checker ) ; Set < Class < ? extends Annotation > > qualSet = new LinkedHashSet < Class < ? extends Annotation > > ( ) ; String qualNames = checker . getOption ( "quals" ) ; String qualDirectories = checker . getOption ( "qualDirs" ) ; if ( qualNames != null ) { for ( String qualName : qualNames . split ( "," ) ) { qualSet . add ( loader . loadExternalAnnotationClass ( qualName ) ) ; } } if ( qualDirectories != null ) { for ( String dirName : qualDirectories . split ( ":" ) ) { qualSet . addAll ( loader . loadExternalAnnotationClassesFromDirectory ( dirName ) ) ; } } qualSet . add ( FenumTop . class ) ; qualSet . add ( Fenum . class ) ; qualSet . add ( FenumUnqualified . class ) ; qualSet . add ( FenumBottom . class ) ; qualSet . add ( PolyFenum . class ) ; qualSet . addAll ( getBundledTypeQualifiersWithPolyAll ( ) ) ; return qualSet ; }
copied from subtypingchecker . instead of returning an empty set if no " quals " option is given , we return fenum as the only qualifier .
