Ask coding questions

← Back to all posts
Can Java in REPL create a javadoc file? Is so, how? Examples?
PAULHANNA (1)

I want to use javadoc tags in my REPL Java program to generate an explanatory API document file. Looking for examples of how to do this. Must be Java language, written in REPL environment.

Comments
hotnewtop
twaller (5)

If it's any consolation, I totally understand what you're asking and would also like to find a way to do this. If you figure it out, please share.

PAULHANNA (1)

@Coder100 Yes. I know Java has a javadoc tool. How can I use it with REPL?

PAULHANNA (1)

@PAULHANNA Or does REPL have a similar tool?

Coder100 (16868)

@PAULHANNA what do you mean, my repl literally shows you a working hosted javadoc

twaller (5)

@Coder100 He's asking about a custom javadoc, not the default one from oracle. Most IDEs have the ability to create a custom javadoc for the classes you create yourself using the javadoc JDK. We're just trying to see if replit has something similar.

Coder100 (16868)

https://replit.com/@Coder100/UsedIllWorkplace-aeou-eaou-aeo#main.sh here is my example repl. As you can see it is super easy to use.

Coder100 (16868)

Yes you can! javadoc