Function use

  • Dynamically generates a JavaScript wrapper for className that you can instantiate objects from by calling $new() on to invoke a constructor. Call $dispose() on an instance to clean it up explicitly, or wait for the JavaScript object to get garbage-collected, or script to get unloaded. Static and non-static methods are available, and you can even replace method implementations.

    Uses the app's class loader, but you may access classes on other loaders by calling Java.ClassFactory.get().

    Type Parameters

    Parameters

    • className: string

      Canonical class name to get a wrapper for.

    Returns Wrapper<T>

Generated using TypeDoc