src/main/java/com/aoindustries/dbc/AutoObjectFactory.java
public static Method getValueOfIntMethod(Class<?> clazz) {
		Method existing = valueOfIntMethods.get(clazz);
		if(existing==null) {
			Method newMethod;
			try {
				newMethod = clazz.getMethod("valueOf", Integer.TYPE);
				int mod = newMethod.getModifiers();
				if(!Modifier.isStatic(mod) || !Modifier.isPublic(mod)) newMethod = notExists;
			} catch(NoSuchMethodException err) {
				newMethod = notExists;
			}
			existing = valueOfIntMethods.put(clazz, newMethod);
			if(existing==null) existing = newMethod;
		}
		return existing==notExists ? null : existing;
	}
public static Method getValueOfIntMethod(Class<?> clazz) {
		Method existing = valueOfIntMethods.get(clazz);
		if(existing==null) {
			Method newMethod;
			try {
				newMethod = clazz.getMethod("valueOf", Integer.TYPE);
				int mod = newMethod.getModifiers();
				if(!Modifier.isStatic(mod) || !Modifier.isPublic(mod)) newMethod = notExists;
			} catch(NoSuchMethodException err) {
				newMethod = notExists;
			}
			existing = valueOfIntMethods.put(clazz, newMethod);
			if(existing==null) existing = newMethod;
		}
		return existing==notExists ? null : existing;
	}
Gets the <code>valueOf(int)</code> for the provided class or <code>null</code> if doesn't
exist or is non-static or non-public.