I have first private constructor and then the static getInstance() method. In my utility classes I have first private constructor (prevent users from creating unnecessary instances) followed by all the static methods.
That's what page 4 and 5 on javadoc convention say about that it:
7. Methods - These methods should be grouped by functionality rather than by scope or accessibility. For example, a private class method can be in
between two public instance methods. The goal is to make reading and understanding the code easier.
So...Marcelo your are free to put them where your functionality tell you to put, no matter what DP you are using.
Just curious on one point here. I had my class comments in the wrong place (right above the class declaration), so I moved them to before the package statement. Now my comments don't show up in the javadoc, whereas they used to. I just got permission to upload so I want to clarify this. It's probably minor, but I fixed it because every little bit helps!
Disregard my last post. They do not have the comments above the class declaration, so that would appear to be the problem. I'm having a hard time finding a good example online. I guess I'm uploading tonight when I get home so I can fix this. What's a few more hours??