Skip to content

[Feature Request] Basic Constant Un-inlining #64

@ProdOrDev

Description

@ProdOrDev

Currently when browsing through certain source files, such as com/mojang/blaze3d/vertex/Tesselator, you may encounter inlined constants, such as 786432 which refers to Tesselator.MAX_BYTES but was inlined during compilation.

It would be nice to have basic system that looks at the static final <primitive> FOO = ... declarations within a class and un-inlines them within the following method/field bodies of said class.

While this would not handle every case, especially cases when constants are inlined across classes, it would help with a decent majority (based on my own browsing experience).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions