private void computeTemplateParameters(ICPPFunctionTemplate originalMethodTemplate) {
   try {
     fTemplateParameters =
         PDOMTemplateParameterArray.createPDOMTemplateParameters(
             getLinkage(), this, originalMethodTemplate.getTemplateParameters());
   } catch (DOMException e) {
     CCorePlugin.log(e);
     fTemplateParameters = IPDOMCPPTemplateParameter.EMPTY_ARRAY;
   } catch (CoreException e) {
     CCorePlugin.log(e);
     fTemplateParameters = IPDOMCPPTemplateParameter.EMPTY_ARRAY;
   }
 }
 @Override
 public ICPPTemplateParameter[] getTemplateParameters() {
   ICPPFunctionTemplate template = (ICPPFunctionTemplate) getSpecializedBinding();
   return template.getTemplateParameters();
 }