AbstractEngine
Abstract base class that wraps a JSR 223 ScriptEngine, resolved by file extension or created by the subclass.
Subclasses usually specify the script language via the extension constructor parameter (e.g., "kts" for Kotlin, "py" for Python, "java" for Java). One that needs an engine the extension lookup cannot give it, such as a subclass of the registered engine, passes the engine itself instead.