Skip to content

Conversation

@jpenilla
Copy link
Contributor

Exposing the lvt allows renamers to use any existing name in consideration for renaming.

Also adds a renamer that fixes conflicting lvt names, which is helpful for example with tiny-remapper output (as it does not take into account names used by enclosing methods).

jaskarth and others added 17 commits April 4, 2024 15:08
…a 21 (Vineflower#355)

* Fix switches with enums for enums in other classes and null cases

* Remove println
* Fix if statements inside switch statements preventing switch expressions

* Update test output

* Fix switch statements that throw an exception not being converted

* Add comment
…o arguments (Vineflower#362)

* Fix formatter emitting blank lines for long method invocations with no arguments

fixes Vineflower#359

* Simplify test
…#361)

* Fix local class methods not getting the parent context

* Add test
…ineflower#366)

They may be needed later when writing other classes.

This fixes an issue where non-static inner class constructor invocations from foreign classes would inconsistently have the synthetic enclosing this instance removed from the parameter list, depending on the order they were processed in (and consequently having strange interactions with multithreaded writing)
* Don't write explicit casts where redundant

* Fix numeric parameter disambiguation

* Write casts when not doing so would change behavior

* Fix failing test

---------

Co-authored-by: Jasmine Karthikeyan <[email protected]>
…er#370)

* add option to exclude classes from decompilation

* add @type annotation

* rename into excluded-classes, remove short name
@jpenilla jpenilla marked this pull request as draft April 14, 2024 06:36
@jaskarth jaskarth added Type: Enhancement New feature or request Priority: Medium Medium priority Subsystem: Plugins Anything concerning the plugins system or plugin code labels Apr 17, 2024
@jaskarth jaskarth force-pushed the develop/1.11.0 branch 2 times, most recently from a6698b7 to 0be304f Compare February 25, 2025 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Medium Medium priority Subsystem: Plugins Anything concerning the plugins system or plugin code Type: Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants