[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Getters, Setters and member prefix.
|
It is a very common practice to precede class member variables with m_.
for example:
class Foo
{
private Bar m_bar;
}
the problem is, that when I generate a setter/getter for m_bar, the m_
prefix gets into the method names.
class Foo
{
private Bar m_bar;
public Bar getM_bar()
{
return m_bar;
}
/...
}
This is most annoying.
has anyone considered make the setter/getter generation smarter, and have it
ignore common prefixes (like m_, or _)