package com.github.aureliano.achmed.helper;

import java.lang.reflect.Method;

public final class ReflectionHelper {

	private ReflectionHelper() {
		throw new InstantiationError(this.getClass().getName() + " cannot be instantiated.");
	}
    
    public static String getSimpleAccessMethodName(Method method) {
    	String name = method.getName().replaceFirst("^(get|is|set|with)", "");
    	return Character.toLowerCase(name.charAt(0)) + name.substring(1);
    }
}
@@ -72,16 +72,79 @@
 ethod;%0A%0A
+import com.github.aureliano.achmed.exception.AchmedException;%0A%0A
 public f
@@ -300,16 +300,400 @@
 %09%7D%0A    %0A
+    public static Object callMethod(Object object, String methodName, Class%3C?%3E%5B%5D parametersType, Object%5B%5D methodParameters) %7B%0A    %09Class%3C?%3E clazz = object.getClass();%0A    %09try %7B%0A    %09%09Method method = clazz.getMethod(methodName, parametersType);%0A    %09%09return method.invoke(object, methodParameters);%0A    %09%7D catch (Exception ex) %7B%0A    %09%09throw new AchmedException(ex);%0A    %09%7D%0A    %7D%0A    %0A
     publ

Add method to call method through reflection.