compilation fixed

This commit is contained in:
Anna Kozlova
2015-01-15 17:15:30 +01:00
parent 685f27b2ce
commit 6b7faf306a
@@ -135,7 +135,7 @@ public abstract class TemplatesManager implements PersistentStateComponent<Templ
//hide setters from completion list
return null;
}
return method.getGenericReturnType().getTypeName() + " " + methodName + "();";
return method.getGenericReturnType().toString() + " " + methodName + "();";
}
});
final String text = "interface " + elementClass.getSimpleName() + " {\n" + StringUtil.join(methodNames, "\n") + "}";