Package com.github.bsideup.jabel
package com.github.bsideup.jabel
-
ClassesClassDescriptionWill adapts flexible entry points (
void main();, void main(String[]);, static void main();, static void main(String[])) by attempting to create a bridge.Because implicit classes import thejava.basemodule, and modules are not yet supported, we need to convert it by adding star import of all exported and existing packages.ReplacesMatchExceptioncatch clauses, generated by the compiler for record patterns unpacking, byRuntimeException.Will generatehashCode(),equals()andtoString()methods, and removeFlags.RECORD.Transforms modern switch constructs (Java 17+) into Java 8 compatible code.TreeCopierthat preserves types and symbols.Replacesandinvalid reference
SwitchBootstraps#typeSwitchby a ternary chains.invalid reference
SwitchBootstraps#enumSwitch