code: public String[] getMethods(String pluginClass) throws Exception {
          ArrayList<String> methodNames = new ArrayList<String>();
  
          Method[] methods = getClass(pluginClass).getDeclaredMethods();
          for (Method method : methods) {
              logger.info("Checking {}", method.getName());
  
              com.groupon.odo.proxylib.models.Method methodInfo = this.getMethod(pluginClass, method.getName());
              if (methodInfo == null) {
                  continue;
              }
  
              // check annotations
              Boolean matchesAnnotation = false;
              if (methodInfo.getMethodType().endsWith(Constants.PLUGIN_RESPONSE_OVERRIDE_CLASS) ||
                  methodInfo.getMethodType().endsWith(Constants.PLUGIN_RESPONSE_OVERRIDE_V2_CLASS)) {
                  matchesAnnotation = true;
              }
  
              if (!methodNames.contains(method.getName()) && matchesAnnotation) {
                  methodNames.add(method.getName());
              }
          }
  
          return methodNames.toArray(new String[0]);
      }
docs: Returns a string array of the methods loaded for a class
  
  @param pluginClass name of class
  @return string array of the methods loaded for the class
  @throws Exception exception