docs: public Object[] getMethods() {
          Method[] methods = getClassUnderInspection().getMethods();
          Constructor[] ctors = getClassUnderInspection().getConstructors();
          Object[] result = new Object[methods.length + ctors.length];
          int resultIndex = 0;
          for (; resultIndex < methods.length; resultIndex++) {
              Method method = methods[resultIndex];
              result[resultIndex] = methodInfo(method);
          }
          for (int i = 0; i < ctors.length; i++, resultIndex++) {
              Constructor ctor = ctors[i];
              result[resultIndex] = methodInfo(ctor);
          }
          return result;
      }