Answer the question
In order to leave comments, you need to log in
Is it possible to create comments as a txt file in Java?
There is a very large piece of text - this is a comment to the method. Is there a way to create some kind of comment annotation or something without having to write 20 lines of comment inside the class?
To create a txt file, write a comment there and already on top of the method, for example, do something like this: @Comment com.company.comment
/**
* sdfs
* sdf
* sd
* fsd
* f
* sd
* fsd
* f
* ds
* f
* ds
* fs
* dsf
* sd
*
*/
void getHttp() {
}
Answer the question
In order to leave comments, you need to log in
Annotations are information either for the compiler or for the virtual machine. The first one does not care about comments, while the second one does not have any comments at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question