private void addUnitToExternalQualMap(final Class<? extends Annotation> annoClass){
  AnnotationMirror mirror=UnitsRelationsTools.buildAnnoMirrorWithNoPrefix(processingEnv,annoClass);
  if (!isAliasedAnnotation(mirror)) {
    String unitClassName=annoClass.getCanonicalName();
    if (!externalQualsMap.containsKey(unitClassName)) {
      externalQualsMap.put(unitClassName,annoClass);
    }
  }
 else {
    Class<? extends Annotation> baseUnitClass=getBaseUnitAnnoClass(mirror);
    if (baseUnitClass != null) {
      String baseUnitClassName=baseUnitClass.getCanonicalName();
      if (!externalQualsMap.containsKey(baseUnitClassName)) {
        loadExternalUnit(baseUnitClassName);
      }
      aliasedAnnotation(mirror);
    }
 else {
    }
  }
  addUnitsRelations(annoClass);
}

private void addUnitToExternalQualMap ( final Class < ? extends Annotation > annoClass ) { AnnotationMirror mirror = UnitsRelationsTools . buildAnnoMirrorWithNoPrefix ( processingEnv , annoClass ) ; if ( ! isAliasedAnnotation ( mirror ) ) { String unitClassName = annoClass . getCanonicalName ( ) ; if ( ! externalQualsMap . containsKey ( unitClassName ) ) { externalQualsMap . put ( unitClassName , annoClass ) ; } } else { Class < ? extends Annotation > baseUnitClass = getBaseUnitAnnoClass ( mirror ) ; if ( baseUnitClass != null ) { String baseUnitClassName = baseUnitClass . getCanonicalName ( ) ; if ( ! externalQualsMap . containsKey ( baseUnitClassName ) ) { loadExternalUnit ( baseUnitClassName ) ; } aliasedAnnotation ( mirror ) ; } else { } } addUnitsRelations ( annoClass ) ; }
adds the annotation class to the external qualifier map if it is not an alias annotation .
