public Method[] factoryMethods() {
		Set<Method> methods = new HashSet<Method>();

		for (Method m : clazz.getMethods()) {
			if (Modifier.isPrivate(m.getModifiers())) {
				continue;
			}
			if (!Modifier.isStatic(m.getModifiers())) {
				continue;
			}

			if (m.getReturnType() != clazz) {
				continue;
			}
			methods.add(m);
		}

		return methods.toArray(new Method[methods.size()]);
	}