code: public static XClass getXClass(final ClassDescriptor classDesc) throws AssertionError {
          try {
              return Global.getAnalysisCache().getClassAnalysis(XClass.class, classDesc);
          } catch (CheckedAnalysisException e) {
              AssertionError ae = new AssertionError("Can't find ClassInfo for " + classDesc);
              ae.initCause(e);
              throw (ae);
          }
      }
docs: Returns an <code>XClass</code> object for the given <code>ClassDescriptor</code> object.
  
  @param classDesc
  the class descriptor for which to find the XClass object
  @return the class
  @throws AssertionError
  if the analysis of the class failed