code: void checkMethods(ClassFile cf) throws ConstantPoolException {
          for (Method m : cf.methods) {
              String mname = m.getName(cf.constant_pool);
              String desc = cf.constant_pool.getUTF8Value(m.descriptor.index);
              MethodSig sig = MethodSig.fromDesc(desc);
              DeprData dd;
  
              for (String parm : sig.getParameters()) {
                  parm = nameFromDescType(parm);
                  if (parm != null) {
                      dd = db.getTypeDeprecated(parm);
                      if (dd != null) {
                          printHasMethodParmType(cf, mname, parm, dd.isForRemoval());
                      }
                  }
              }
  
              String ret = nameFromDescType(sig.getReturnType());
              if (ret != null) {
                  dd = db.getTypeDeprecated(ret);
                  if (dd != null) {
                      printHasMethodRetType(cf, mname, ret, dd.isForRemoval());
                  }
              }
  
              // check overrides
              String overridden = resolveMember(cf, cf.getName(), mname, desc, true, false);
              if (overridden != null) {
                  dd = db.getMethodDeprecated(overridden, mname, desc);
                  if (dd != null) {
                      printHasOverriddenMethod(cf, overridden, mname, desc, dd.isForRemoval());
                  }
              }
          }
      }
docs: Checks the methods declared in this class.
  
  @param cf the ClassFile object of this class
  @throws ConstantPoolException if a constant pool entry cannot be found