code: public static Object callGetter(Object o, String prop)
  	    throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
  	prop = "get" + prop;
  	Class c = o.getClass();
  	Method m = getMethodParameterPairIgnoreCase(c, prop, null).getMethod();
  
  	// Method m=getMethodIgnoreCase(c,prop,null);
  	if (m.getReturnType().getName().equals("void")) throw new NoSuchMethodException("invalid return Type, method [" + m.getName() + "] can't have return type void");
  	return m.invoke(o, null);
      }
docs: to invoke a getter Method of a Object
  
  @param o Object to invoke method from
  @param prop Name of the Method without get
  @return return Value of the getter Method
  @throws SecurityException
  @throws NoSuchMethodException
  @throws IllegalArgumentException
  @throws IllegalAccessException
  @throws InvocationTargetException