A B G L N O R S V

## A

addClasses(String...) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Adds additional classes to the list of those that should be included in the generated JavaScript file.
addExported(String...) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Adds exported classes or packages.
addResources(String...) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  These resources should be made available in the compiled file in binary form.
addRootClasses(String...) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Adds additional classes to the list of those that should be included in the generated JavaScript file.

## B

Bck2Brwsr - Class in org.apidesign.vm4brwsr
  Build your own virtual machine! Use methods in this class to generate a skeleton JVM in JavaScript that contains pre-compiled classes of your choice:
Bck2Brwsr.Resources - Interface in org.apidesign.vm4brwsr
  Provider of resources (classes and other files).

## G

generate(Appendable, Bck2Brwsr.Resources, String...) - Static method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Helper method to generate virtual machine from bytes served by a `resources` provider.
generate(Appendable, ClassLoader, String...) - Static method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Helper method to generate virtual machine from bytes served by a class loader.
generate(Appendable) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Generates virtual machine based on previous configuration of the compiler.
get(String) - Method in interface org.apidesign.vm4brwsr.Bck2Brwsr.Resources
  Loads given resource (class or other file like image).

## L

library(String...) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Should one generate a library? By default the system generates all transitive classes needed by the the transitive closure of `Bck2Brwsr.addRootClasses(java.lang.String...)` and `Bck2Brwsr.addClasses(java.lang.String...)`.

## N

newCompiler() - Static method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Creates new instance of Bck2Brwsr compiler which is ready to generate empty Bck2Brwsr virtual machine.

## O

obfuscation(ObfuscationLevel) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Changes the obfuscation level for the compiler by creating new instance which inherits all values from `this` and adjust the level of obfuscation.
ObfuscationLevel - Enum in org.apidesign.vm4brwsr
  Defines obfuscation level of produced JavaScript files.
org.apidesign.vm4brwsr - package org.apidesign.vm4brwsr

## R

resources(Bck2Brwsr.Resources) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  A way to change the provider of additional resources (classes) for the compiler.
resources(ClassLoader) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  A way to change the provider of additional resources (classes) for the compiler by specifying classloader to use for loading them.
resources(ClassLoader, boolean) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  A way to change the provider of additional resources (classes) for the compiler by specifying classloader to use for loading them.

## S

standalone(boolean) - Method in class org.apidesign.vm4brwsr.Bck2Brwsr
  Turns on the standalone mode.

## V

valueOf(String) - Static method in enum org.apidesign.vm4brwsr.ObfuscationLevel
  Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apidesign.vm4brwsr.ObfuscationLevel
  Returns an array containing the constants of this enum type, in the order they are declared.

A B G L N O R S V

Copyright © 2025 API Design. All Rights Reserved.