}
if (javaClass.hasMethodSignature(beginName) && (javaClass.getMethod(beginName).getParameters().size() == 0))
{
if (overwrite)
{
javaClass.removeMethod(javaClass.getMethod(beginName));
}
else
{
throw new RuntimeException("Method [" + beginName
+ "] exists. Re-run with '--overwrite' to continue.");