use of org.eclipse.jdt.core.dom.TypeParameter in project generator by mybatis.
the class MethodSignatureStringifier method visitTypeParameters.
@SuppressWarnings("unchecked")
private void visitTypeParameters(MethodDeclaration node) {
if (!node.typeParameters().isEmpty()) {
buffer.append('<');
for (Iterator<TypeParameter> it = node.typeParameters().iterator(); it.hasNext(); ) {
TypeParameter t = it.next();
t.accept(this);
if (it.hasNext()) {
buffer.append(',');
}
}
//$NON-NLS-1$
buffer.append("> ");
}
}
Aggregations