code: public void check(ReferenceDescriptorDef refDef, String checkLevel) throws ConstraintException
      {
          ensureClassRef(refDef, checkLevel);
          checkProxyPrefetchingLimit(refDef, checkLevel);
      }
docs: Checks the given reference descriptor.
  
  @param refDef     The reference descriptor
  @param checkLevel The amount of checks to perform
  @exception ConstraintException If a constraint has been violated