<cffunction
name="GetJavaClassMethodParameters"
access="public"
returntype="string"
output="false"
hint="Returns the arguments that are required for the given Java method call.">
<cfargument name="Method" type="any" />
<cfset var LOCAL = StructNew() />
<cfset LOCAL.Parameters = ARGUMENTS.Method.GetParameterTypes() />
<cfset LOCAL.ParamList = "" />
<cfloop
index="LOCAL.ParameterIndex"
from="1"
to="#ArrayLen( LOCAL.Parameters )#"
step="1">
<cfset LOCAL.ParamList = ListAppend(
LOCAL.ParamList,
LOCAL.Parameters[ LOCAL.ParameterIndex ].GetName()
) />
</cfloop>
<cfset LOCAL.ParamList = Replace(
LOCAL.ParamList,
",",
", ",
"ALL"
) />
<cfreturn LOCAL.ParamList />
</cffunction>