For projects heavily used of Java annotations, is there any suggestion on the annotation order? So as to uniform the code style in the team.
For projects heavily used of Java annotations, is there any suggestion on the annotation
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m going to say there’s not. I could be proven wrong on this.
My reasoning is there are hundreds of projects that have annotations, in addition to the ones baked into Java, and the ones baked into our IDEs (specifically Eclipse but I’m sure others have them too.)
So, with all these libraries potentially competitng for "whose on top" I doubt they would agree on a standard.
I would encourage your team to sit down and make decisions about what’s best for you guys.
Factors I would consider: