code: public final Method[] getStringConverterMethods() {
          if (mStringConverters == null) {
              String name = getRuntimeStringConverter();
  
              Vector<Method> methods = new Vector<Method>();
  
              if (name != null) {
                  Method[] contextMethods = getRuntimeContextMethods();
                  for (int i=0; i<contextMethods.length; i++) {
                      Method m = contextMethods[i];
                      if (m.getName().equals(name) &&
                              m.getReturnType() == String.class &&
                              m.getParameterTypes().length == 1) {
  
                          methods.addElement(m);
                      }
                  }
              }
  
              int customSize = methods.size();
  
              Method[] stringMethods = String.class.getMethods();
              for (int i=0; i<stringMethods.length; i++) {
                  Method m = stringMethods[i];
                  if (m.getName().equals("valueOf") &&
                          m.getReturnType() == String.class &&
                          m.getParameterTypes().length == 1 &&
                          Modifier.isStatic(m.getModifiers())) {
  
                      // Don't add to list if a custom converter already handles
                      // this method's parameter type.
                      Class<?> type = m.getParameterTypes()[0];
                      int j;
                      for (j=0; j<customSize; j++) {
                          Method cm = methods.elementAt(j);
                          if (cm.getParameterTypes()[0] == type) {
                              break;
                          }
                      }
  
                      if (j == customSize) {
                          methods.addElement(m);
                      }
                  }
              }
  
              mStringConverters = new Method[methods.size()];
              methods.copyInto(mStringConverters);
          }
  
          return mStringConverters.clone();
      }
docs: Returns the set of methods that are used to perform conversion to
  strings. The compiler will bind to the closest matching method based
  on its parameter type.