Auto-generated method stub
Hi there.
In some codes i find lots of comments like this:
//TODO: auto-generated method stub
or
//TODO: auto-generated catch block
or whatever, and I ain't got a clue what this means, may i add code in such methods? or
introspection or bcel or someone else does at runtime, or it's already done at compilation
time, or what's up there? someone helps me?
> Hi there.
> In some codes i find lots of comments like this:
>
> //TODO: auto-generated method stub
> or
> //TODO: auto-generated catch block
>
> or whatever, and I ain't got a clue what this means,
> may i add code in such methods?
Yes, you can. They're only comments and you can always add or remove comments without affecting your application. Those comments are usually generated by an IDE.