Results 1 to 6 of 6

Thread: Repopulate source doc struc from javadoc

  1. #1
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts

    Repopulate source doc struc from javadoc

    Anyone know of a tool that will repopulate Java source files from javadoc documentation?

    Cheers
    To err is human. To really foul things up ... you need a computer.

  2. #2
    honed at getting pwned
    Join Date
    Sep 2006
    Location
    Lancashire, UK
    Posts
    449
    Thanks
    4
    Thanked
    4 times in 4 posts
    Do you mean to reverse engineer the code? (impossible) or to re-add all the JavaDoc comments back into the original source (also impossible) or am I getting the wrong end of the stick?

  3. #3
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    Without a doubt they are both possible, but looking for a tool for the latter.
    To err is human. To really foul things up ... you need a computer.

  4. #4
    Theoretical Element Spud1's Avatar
    Join Date
    Jul 2003
    Location
    North West
    Posts
    7,494
    Thanks
    335
    Thanked
    313 times in 249 posts
    • Spud1's system
      • Motherboard:
      • Gigabyte Aorus Master
      • CPU:
      • 9900k
      • Memory:
      • 16GB GSkill Trident Z
      • Storage:
      • Lots.
      • Graphics card(s):
      • RTX3090
      • PSU:
      • 750w
      • Case:
      • BeQuiet Dark Base Pro rev.2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Asus PG35VQ
      • Internet:
      • 910/100mb Fibre
    Ive not heard of any such tool, but if you have the class files still you can reverse engineer them with DJ Java decompiler or similar..

    Had a quick look around for a javadoc->code tool but couldnt find one ;/

  5. #5
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    I have a much better tool that I wrote using the the same backend as DJ, but I've spent too much time on it as it is and am looking for somthing that could get all of the javadoc back into the source, it's a mid-sized project.
    To err is human. To really foul things up ... you need a computer.

  6. #6
    Senior Member chrestomanci's Avatar
    Join Date
    Sep 2004
    Location
    Reading
    Posts
    1,614
    Thanks
    94
    Thanked
    96 times in 80 posts
    • chrestomanci's system
      • Motherboard:
      • Asus AMD AM4 Ryzen PRIME B350M
      • CPU:
      • AMD Ryzen 1600 @ stock clocks
      • Memory:
      • 16Gb DDR4 2666MHz
      • Storage:
      • 250Gb Samsung 960 Evo M.2 + 3Tb Western Digital Red
      • Graphics card(s):
      • Basic AMD GPU (OSS linux drivers)
      • PSU:
      • Novatech 500W
      • Case:
      • Silverstone Sugo SG02
      • Operating System:
      • Linux - Latest Xubuntu
      • Monitor(s):
      • BenQ 24" LCD (Thanks: DDY)
      • Internet:
      • Zen FTTC
    I think yamangman is looking for a tool that will create function stubs from the javadoc, to save typing them out.

    Problem is, when javadoc is created, the documentation for each function comes from javadoc statements, not from the code, so there is no guarantee that the function prototype as it appears in the javadoc matches the actual code.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 15-03-2007, 08:42 AM
  2. Replies: 0
    Last Post: 15-03-2007, 12:09 AM
  3. Replies: 0
    Last Post: 12-03-2007, 10:57 PM
  4. Replies: 1
    Last Post: 08-03-2007, 03:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •