MultiplyInheritedMethodElementImpl unionedMethod = new MultiplyInheritedMethodElementImpl(
nameIdentifier);
unionedMethod.setInheritedElements(elementArrayToMerge);
executable = unionedMethod;
} else {
MultiplyInheritedPropertyAccessorElementImpl unionedPropertyAccessor = new MultiplyInheritedPropertyAccessorElementImpl(
nameIdentifier);
unionedPropertyAccessor.setGetter(((PropertyAccessorElement) elementArrayToMerge[0]).isGetter());
unionedPropertyAccessor.setSetter(((PropertyAccessorElement) elementArrayToMerge[0]).isSetter());
unionedPropertyAccessor.setInheritedElements(elementArrayToMerge);
executable = unionedPropertyAccessor;
}
int numOfParameters = numOfRequiredParameters + numOfPositionalParameters
+ namedParameters.length;