code: public TypeElement findClass(Element element, String className) {
          TypeElement encl = getEnclosingTypeElement(element);
          TypeElement searchResult = configuration.workArounds.searchClass(encl, className);
          if (searchResult == null) {
              encl = getEnclosingTypeElement(encl);
              //Expand search space to include enclosing class.
              while (encl != null && getEnclosingTypeElement(encl) != null) {
                  encl = getEnclosingTypeElement(encl);
              }
              searchResult = encl == null
                      ? null
                      : configuration.workArounds.searchClass(encl, className);
          }
          return searchResult;
      }
docs: ### compiler would use.  Leave as specified or change it?