List of usage examples for org.eclipse.jdt.core ITypeParameter getSource
String getSource() throws JavaModelException;
From source file:org.eclipseguru.gwt.core.internal.codegen.AsyncServiceCodeGenerator.java
License:Open Source License
private void appendMethodTypeParameters(final IMethod method, final StringBuffer methodContent) throws JavaModelException { final ITypeParameter[] parameters = method.getTypeParameters(); for (final ITypeParameter typeParameter : parameters) { final String source = typeParameter.getSource(); final String elementName = typeParameter.getElementName(); methodContent.append(source);//from w ww .j a v a2s.c o m methodContent.append(elementName); } }