if (paramTypes != null && localParams.size() == 0
|| localParams.size() == paramTypes.length)
{
for (int i = 0; i < localParams.size(); i++)
{
Parameter localParam = localParams.get(i);
String type = paramTypes[i];
if (!Strings.areEqual(localParam.getType(), type))
{
return false;
}
// TODO this needs to be able to handle Type to SimpleType comparison
}