Я могу разместить блок комментариев Javadoc до или после аннотации. Каков правильный путь?
/**
* This is a javadoc comment before the annotation
*/
@Component
public class MyClass {
@Autowired
/**
* This is a javadoc comment after the annotation
*/
private MyOtherClass other;
}
Подробнее здесь: https://stackoverflow.com/questions/310 ... annotation