Skip to content

[Bug]: Inject Javadocs method description inserted as class description #7

@JacobRuby

Description

@JacobRuby

Plugin Version

1.0.32

Hytale Version

0.5.2

Stacktrace

No stacktrace. Relevant example:
https://release.server.docs.hytale.com/com/hypixel/hytale/server/core/asset/type/blocktype/config/BlockType

Describe the bug

For some classes, the class description is mistakenly copied from the description of the last method in the class. I can't find a consistent pattern to when this happens. BlockType is my example.

Image Image

BlockMigration has a class description and no method descriptions, and no docs inject (suggesting it's copying the "last method's description", which is null)
JavaPlugin has a class description and method descriptions, and all properly inject (suggesting I have no idea what I'm talking about).

Definitely weird, but minor I guess since it's not really harming anything.

To Reproduce

  1. Go to BlockType decompiled class with Javadocs injected.
  2. Compare to class description to https://release.server.docs.hytale.com/com/hypixel/hytale/server/core/asset/type/blocktype/config/BlockMigration
  3. profit

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions