diff --git a/.github/workflows/changelog-print.yml b/.github/workflows/changelog-print.yml
deleted file mode 100644
index a3009e3..0000000
--- a/.github/workflows/changelog-print.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: changelogPrint
-
-on:
- push:
- branches: [main]
-
-jobs:
- build:
- runs-on: ubuntu-latest
- name: changelogPrint
- steps:
- - uses: actions/checkout@v3
- - name: jdk 11
- uses: actions/setup-java@v3
- with:
- java-version: 11
- distribution: 'temurin'
- - name: gradle caching
- uses: gradle/gradle-build-action@v2
- with:
- gradle-home-cache-cleanup: true
- - run: ./gradlew changelogPrint
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
deleted file mode 100644
index a3d5d18..0000000
--- a/.github/workflows/ci.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-on:
- pull_request:
- push:
- branches: [main]
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
-jobs:
- build:
- strategy:
- fail-fast: false
- matrix:
- jre: [11, 17]
- os: [ubuntu-latest]
- include:
- - jre: 17
- os: windows-latest
- runs-on: ${{ matrix.os }}
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Install JDK ${{ matrix.jre }}
- uses: actions/setup-java@v3
- with:
- distribution: "temurin"
- java-version: ${{ matrix.jre }}
- - name: gradle caching
- uses: gradle/gradle-build-action@v2
- with:
- gradle-home-cache-cleanup: true
- - name: git fetch origin main
- run: git fetch origin main
- - name: gradlew build
- run: ./gradlew build
- - name: junit result
- uses: mikepenz/action-junit-report@v3
- if: always() # always run even if the previous step fails
- with:
- check_name: JUnit ${{ matrix.jre }} ${{ matrix.os }}
- report_paths: '*/build/test-results/*/TEST-*.xml'
diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml
deleted file mode 100644
index 2c02ce0..0000000
--- a/.github/workflows/gradle-wrapper-validation.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-name: "Validate Gradle Wrapper"
-on:
- push:
- paths:
- - 'gradlew'
- - 'gradlew.bat'
- - 'gradle/wrapper/'
- pull_request:
- paths:
- - 'gradlew'
- - 'gradlew.bat'
- - 'gradle/wrapper/'
-
-permissions:
- contents: read
-
-jobs:
- validation:
- name: "Validation"
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: gradle/wrapper-validation-action@v1
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index 2f223a7..0000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-# GH_TOKEN
-# NEXUS_USER
-# NEXUS_PASS64 (base64 NOTE: `base64` and `openssl base64` failed, had to use Java
-# byte[] data = "{{password}}".getBytes(StandardCharsets.UTF_8);
-# String encoded = new String(Base64.getEncoder().encode(data), StandardCharsets.UTF_8);
-# System.out.println(encoded);
-# GPG_PASSPHRASE
-# GPG_KEY64 (base64)
-# gpg --export-secret-keys --armor KEY_ID | openssl base64 | pbcopy
-
-name: release
-on:
- workflow_dispatch:
- inputs:
- to_publish:
- description: 'What to publish'
- required: true
- default: 'all'
- type: choice
- options:
- - all
-
-jobs:
- build:
- runs-on: ubuntu-latest
- name: deploy
- env:
- gh_token: ${{ secrets.GH_TOKEN }}
- ORG_GRADLE_PROJECT_nexus_user: ${{ secrets.NEXUS_USER }}
- ORG_GRADLE_PROJECT_nexus_pass64: ${{ secrets.NEXUS_PASS64 }}
- ORG_GRADLE_PROJECT_gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
- ORG_GRADLE_PROJECT_gpg_key64: ${{ secrets.GPG_KEY64 }}
- steps:
- - uses: actions/checkout@v3
- - name: jdk 11
- uses: actions/setup-java@v3
- with:
- java-version: 11
- distribution: 'temurin'
- - name: gradle caching
- uses: gradle/gradle-build-action@v2
- with:
- gradle-home-cache-cleanup: true
- - name: git fetch origin main
- run: git fetch origin main
- - name: publish all
- if: "${{ github.event.inputs.to_publish == 'all' }}"
- run: |
- ./gradlew :changelogPush -Prelease=true -Penable_publishing=true --stacktrace --warning-mode all
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index aa6e749..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,16 +0,0 @@
-
-# mac stuff
-*.DS_Store
-
-# gradle stuff
-.gradle/
-build/
-
-# Eclipse stuff
-.project
-.classpath
-.settings/
-bin/
-
-# IntelliJ stuff
-.idea/
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 96768b8..0000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# JScriptBox releases
-
-## [Unreleased]
-
-## [3.0.1] - 2023-02-05
-### Fixed
-- Nashorn script engine is now searched for using the Nashorn classloader rather than the current thread context classloader ([#3](https://github.com/diffplug/jscriptbox/pull/3) to help fix [spotless#803](https://github.com/diffplug/spotless/issues/803)).
-
-## [3.0.0] - 2015-09-21
-- First stable release.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
deleted file mode 100644
index e373e60..0000000
--- a/CONTRIBUTING.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Contributing to JScriptBox
-
-Pull requests are welcome, preferably against `main`.
-
-## Build instructions
-
-It's a bog-standard gradle build. `gradlew build`
-
-If you're getting style warnings, `gradlew spotlessApply` will apply anything necessary to fix formatting. For more info on the formatter, check out [spotless](https://github.com/diffplug/spotless).
-
-## License
-
-By contributing your code, you agree to license your contribution under the terms of the APLv2: https://github.com/diffplug/jscriptbox/blob/master/LICENSE
-
-All files are released with the Apache 2.0 license as such:
-
-```
-Copyright 2015 DiffPlug
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-```
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index dd5b3a5..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,174 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
diff --git a/README.md b/README.md
deleted file mode 100644
index 618f395..0000000
--- a/README.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# JScriptBox: Make your scripting API language-independent
-
-[](https://central.sonatype.com/artifact/com.diffplug.jscriptbox/jscriptbox/3.0.1)
-[](CHANGELOG.md)
-[](https://javadoc.io/doc/com.diffplug.jscriptbox/jscriptbox)
-
-
-When exposing a scripting API, you provide some variables and functions to the script, run the script, then look at which outputs were set and/or functions were called. JScriptBox provides a mechanism for exposing a Java API to a scripting language in a way which is independent of the script language. This means that if you write your code using JScriptBox, script authors can use any language supported by JSR-223, such as JavaScript, Ruby, Python, Scheme, [etc.](http://stackoverflow.com/a/14864450/1153071)
-
-At present, only JavaScript is being used in the wild (in the [FreshMark](https://github.com/diffplug/freshmark) project), but PR's which enhance support for other languages are welcome.
-
-## Example
-
-```java
-private int square(int x) {
- return x * x;
-}
-
-@Test
-public void example() throws ScriptException {
- TypedScriptEngine engine = JScriptBox.create()
- .set("square").toFunc1(this::square)
- .set("x").toValue(9)
- .buildTyped(Nashorn.language());
- int squareOfX = engine.eval("square(x)", Integer.class);
- Assert.assertEquals(81, squareOfX);
-}
-```
-
-In the code above, we provide a `square` function and an `x` variable. We then build a Nashorn Javascript engine, but we could have passed any other language too. To add a new language, just implement [Language](src/main/java/com/diffplug/jscriptbox/Language.java) (the existing [Nashorn](src/main/java/com/diffplug/jscriptbox/javascript/Nashorn.java) can be a helpful starting point).
-
-## Acknowledgements
-* Built by [gradle](http://gradle.org/).
-* Tested by [junit](http://junit.org/).
-* Maintained by [DiffPlug](http://www.diffplug.com/).
diff --git a/build.gradle b/build.gradle
deleted file mode 100644
index d606084..0000000
--- a/build.gradle
+++ /dev/null
@@ -1,25 +0,0 @@
-plugins {
- id 'com.diffplug.blowdryer'
- id 'com.diffplug.spotless-changelog'
-}
-
-repositories {
- mavenCentral()
-}
-
-apply from: 干.file('base/changelog.gradle')
-apply from: 干.file('spotless/java.gradle')
-apply from: 干.file('spotless/freshmark.gradle')
-apply from: 干.file('base/java.gradle')
-apply plugin: 'java-library'
-
-
-dependencies {
- testImplementation 'junit:junit:4.13.2'
- if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_15)) {
- testImplementation 'org.openjdk.nashorn:nashorn-core:15.4'
- }
-}
-
-apply from: 干.file('base/maven.gradle')
-apply from: 干.file('base/sonatype.gradle')
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
deleted file mode 100644
index 014c936..0000000
--- a/gradle.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-git_url=github.com/diffplug/jscriptbox
-maven_group=com.diffplug.jscriptbox
-maven_name=jscriptbox
-maven_desc=JScriptBox: Make your scripting API language-independent
-license=apache
-
-ver_java=8
-javadoc_links=
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index e8c6bf7..0000000
Binary files a/gradle/wrapper/gradle-wrapper.jar and /dev/null differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index e8242d7..0000000
--- a/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Sat Feb 04 11:45:16 PST 2023
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
diff --git a/gradlew b/gradlew
deleted file mode 100755
index 97fac78..0000000
--- a/gradlew
+++ /dev/null
@@ -1,160 +0,0 @@
-#!/usr/bin/env bash
-
-##############################################################################
-##
-## Gradle start up script for UN*X
-##
-##############################################################################
-
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS=""
-
-APP_NAME="Gradle"
-APP_BASE_NAME=`basename "$0"`
-
-# Use the maximum available, or set MAX_FD != -1 to use that value.
-MAX_FD="maximum"
-
-warn ( ) {
- echo "$*"
-}
-
-die ( ) {
- echo
- echo "$*"
- echo
- exit 1
-}
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false
-msys=false
-darwin=false
-case "`uname`" in
- CYGWIN* )
- cygwin=true
- ;;
- Darwin* )
- darwin=true
- ;;
- MINGW* )
- msys=true
- ;;
-esac
-
-# Attempt to set APP_HOME
-# Resolve links: $0 may be a link
-PRG="$0"
-# Need this for relative symlinks.
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`"/$link"
- fi
-done
-SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >&-
-APP_HOME="`pwd -P`"
-cd "$SAVED" >&-
-
-CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
-
-# Determine the Java command to use to start the JVM.
-if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
- else
- JAVACMD="$JAVA_HOME/bin/java"
- fi
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
- fi
-else
- JAVACMD="java"
- which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
-fi
-
-# Increase the maximum file descriptors if we can.
-if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ] ; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
- MAX_FD="$MAX_FD_LIMIT"
- fi
- ulimit -n $MAX_FD
- if [ $? -ne 0 ] ; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
-fi
-
-# For Darwin, add options to specify how the application appears in the dock
-if $darwin; then
- GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
-fi
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin ; then
- APP_HOME=`cygpath --path --mixed "$APP_HOME"`
- CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
- JAVACMD=`cygpath --unix "$JAVACMD"`
-
- # We build the pattern for arguments to be converted via cygpath
- ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
- SEP=""
- for dir in $ROOTDIRSRAW ; do
- ROOTDIRS="$ROOTDIRS$SEP$dir"
- SEP="|"
- done
- OURCYGPATTERN="(^($ROOTDIRS))"
- # Add a user-defined pattern to the cygpath arguments
- if [ "$GRADLE_CYGPATTERN" != "" ] ; then
- OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
- fi
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
- i=0
- for arg in "$@" ; do
- CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
- CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
-
- if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
- eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
- else
- eval `echo args$i`="\"$arg\""
- fi
- i=$((i+1))
- done
- case $i in
- (0) set -- ;;
- (1) set -- "$args0" ;;
- (2) set -- "$args0" "$args1" ;;
- (3) set -- "$args0" "$args1" "$args2" ;;
- (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
- (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
- (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
- (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
- (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
- (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
- esac
-fi
-
-# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
-function splitJvmOpts() {
- JVM_OPTS=("$@")
-}
-eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
-JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
-
-exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
deleted file mode 100644
index aec9973..0000000
--- a/gradlew.bat
+++ /dev/null
@@ -1,90 +0,0 @@
-@if "%DEBUG%" == "" @echo off
-@rem ##########################################################################
-@rem
-@rem Gradle startup script for Windows
-@rem
-@rem ##########################################################################
-
-@rem Set local scope for the variables with windows NT shell
-if "%OS%"=="Windows_NT" setlocal
-
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
-
-set DIRNAME=%~dp0
-if "%DIRNAME%" == "" set DIRNAME=.
-set APP_BASE_NAME=%~n0
-set APP_HOME=%DIRNAME%
-
-@rem Find java.exe
-if defined JAVA_HOME goto findJavaFromJavaHome
-
-set JAVA_EXE=java.exe
-%JAVA_EXE% -version >NUL 2>&1
-if "%ERRORLEVEL%" == "0" goto init
-
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:findJavaFromJavaHome
-set JAVA_HOME=%JAVA_HOME:"=%
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
-if exist "%JAVA_EXE%" goto init
-
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:init
-@rem Get command-line arguments, handling Windowz variants
-
-if not "%OS%" == "Windows_NT" goto win9xME_args
-if "%@eval[2+2]" == "4" goto 4NT_args
-
-:win9xME_args
-@rem Slurp the command line arguments.
-set CMD_LINE_ARGS=
-set _SKIP=2
-
-:win9xME_args_slurp
-if "x%~1" == "x" goto execute
-
-set CMD_LINE_ARGS=%*
-goto execute
-
-:4NT_args
-@rem Get arguments from the 4NT Shell from JP Software
-set CMD_LINE_ARGS=%$
-
-:execute
-@rem Setup the command line
-
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
-
-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
-
-:end
-@rem End local scope for the variables with windows NT shell
-if "%ERRORLEVEL%"=="0" goto mainEnd
-
-:fail
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
-rem the _cmd.exe /c_ return code!
-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
-exit /b 1
-
-:mainEnd
-if "%OS%"=="Windows_NT" endlocal
-
-:omega
diff --git a/javadoc/1.0.0/allclasses-frame.html b/javadoc/1.0.0/allclasses-frame.html
new file mode 100644
index 0000000..9e3c1e1
--- /dev/null
+++ b/javadoc/1.0.0/allclasses-frame.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+All Classes (jscriptbox 1.0.0 API)
+
+
+
+
+
+All Classes
+
+
+
diff --git a/javadoc/1.0.0/allclasses-noframe.html b/javadoc/1.0.0/allclasses-noframe.html
new file mode 100644
index 0000000..add01f8
--- /dev/null
+++ b/javadoc/1.0.0/allclasses-noframe.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+All Classes (jscriptbox 1.0.0 API)
+
+
+
+
+
+All Classes
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func0.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func0.html
new file mode 100644
index 0000000..7cceec8
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func0.html
@@ -0,0 +1,233 @@
+
+
+
+
+
+ArityN.Func0 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func1.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func1.html
new file mode 100644
index 0000000..6667a40
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func1.html
@@ -0,0 +1,235 @@
+
+
+
+
+
+ArityN.Func1 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func2.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func2.html
new file mode 100644
index 0000000..43a3098
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func2.html
@@ -0,0 +1,237 @@
+
+
+
+
+
+ArityN.Func2 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func3.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func3.html
new file mode 100644
index 0000000..8cb3dfb
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func3.html
@@ -0,0 +1,239 @@
+
+
+
+
+
+ArityN.Func3 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func4.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func4.html
new file mode 100644
index 0000000..dc3ed73
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Func4.html
@@ -0,0 +1,241 @@
+
+
+
+
+
+ArityN.Func4 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enclosing class:
+ArityN
+
+
+Functional Interface:
+This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
+
+
+
+@FunctionalInterface
+public static interface ArityN.Func4<A,B,C,D,R>
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void0.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void0.html
new file mode 100644
index 0000000..924f850
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void0.html
@@ -0,0 +1,233 @@
+
+
+
+
+
+ArityN.Void0 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void1.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void1.html
new file mode 100644
index 0000000..e97c8aa
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void1.html
@@ -0,0 +1,235 @@
+
+
+
+
+
+ArityN.Void1 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void2.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void2.html
new file mode 100644
index 0000000..f9fb766
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void2.html
@@ -0,0 +1,237 @@
+
+
+
+
+
+ArityN.Void2 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void3.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void3.html
new file mode 100644
index 0000000..d8b8288
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void3.html
@@ -0,0 +1,239 @@
+
+
+
+
+
+ArityN.Void3 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void4.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void4.html
new file mode 100644
index 0000000..c6c323c
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.Void4.html
@@ -0,0 +1,241 @@
+
+
+
+
+
+ArityN.Void4 (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.html b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.html
new file mode 100644
index 0000000..bce4425
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/ArityN.html
@@ -0,0 +1,257 @@
+
+
+
+
+
+ArityN (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes
+
+Modifier and Type
+Class and Description
+
+
+static interface
+ArityN.Func0 <R >
+
+
+static interface
+ArityN.Func1 <A ,R >
+
+
+static interface
+ArityN.Func2 <A ,B ,R >
+
+
+static interface
+ArityN.Func3 <A ,B ,C ,R >
+
+
+static interface
+ArityN.Func4 <A ,B ,C ,D ,R >
+
+
+static interface
+ArityN.Void0
+
+
+static interface
+ArityN.Void1 <A >
+
+
+static interface
+ArityN.Void2 <A ,B >
+
+
+static interface
+ArityN.Void3 <A ,B ,C >
+
+
+static interface
+ArityN.Void4 <A ,B ,C ,D >
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/Check.html b/javadoc/1.0.0/com/diffplug/jscriptbox/Check.html
new file mode 100644
index 0000000..4b5ea1a
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/Check.html
@@ -0,0 +1,295 @@
+
+
+
+
+
+Check (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Static Methods Concrete Methods
+
+Modifier and Type
+Method and Description
+
+
+static <T> T
+cast (Object o,
+ Class <T> clazz)
+
+
+static <T> Optional <T>
+castOpt (Object o,
+ Class <T> clazz)
+
+
+static void
+that (boolean test,
+ String errorMsg,
+ Object o0)
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+
+
+static void
+that (boolean test,
+ String errorMsg,
+ Object o0,
+ Object o1)
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+that
+public static void that(boolean test,
+ String errorMsg,
+ Object o0)
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+
+
+
+
+
+
+that
+public static void that(boolean test,
+ String errorMsg,
+ Object o0,
+ Object o1)
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/JScriptBox.NameSetter.html b/javadoc/1.0.0/com/diffplug/jscriptbox/JScriptBox.NameSetter.html
new file mode 100644
index 0000000..2de3efe
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/JScriptBox.NameSetter.html
@@ -0,0 +1,404 @@
+
+
+
+
+
+JScriptBox.NameSetter (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods
+
+Modifier and Type
+Method and Description
+
+
+<R> JScriptBox
+toFunc0 (ArityN.Func0 <R> value)
+
+
+<A,R> JScriptBox
+toFunc1 (ArityN.Func1 <A,R> value)
+
+
+<A,B,R> JScriptBox
+toFunc2 (ArityN.Func2 <A,B,R> value)
+
+
+<A,B,C,R> JScriptBox
+toFunc3 (ArityN.Func3 <A,B,C,R> value)
+
+
+<A,B,C,D,R>JScriptBox
+toFunc4 (ArityN.Func4 <A,B,C,D,R> value)
+
+
+JScriptBox
+toValue (Object value)
+
+
+JScriptBox
+toVoid0 (ArityN.Void0 value)
+
+
+<A> JScriptBox
+toVoid1 (ArityN.Void1 <A> value)
+
+
+<A,B> JScriptBox
+toVoid2 (ArityN.Void2 <A,B> value)
+
+
+<A,B,C> JScriptBox
+toVoid3 (ArityN.Void3 <A,B,C> value)
+
+
+<A,B,C,D> JScriptBox
+toVoid4 (ArityN.Void4 <A,B,C,D> value)
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/JScriptBox.html b/javadoc/1.0.0/com/diffplug/jscriptbox/JScriptBox.html
new file mode 100644
index 0000000..1df3fa5
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/JScriptBox.html
@@ -0,0 +1,370 @@
+
+
+
+
+
+JScriptBox (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes
+
+Modifier and Type
+Class and Description
+
+
+class
+JScriptBox.NameSetter
+Fluent API for setting names in this JsHarness.
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Modifier
+Constructor and Description
+
+
+protected
+JScriptBox ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+JScriptBox
+protected JScriptBox()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/Language.html b/javadoc/1.0.0/com/diffplug/jscriptbox/Language.html
new file mode 100644
index 0000000..3df8c62
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/Language.html
@@ -0,0 +1,245 @@
+
+
+
+
+
+Language (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/TypedScriptEngine.html b/javadoc/1.0.0/com/diffplug/jscriptbox/TypedScriptEngine.html
new file mode 100644
index 0000000..2667ad5
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/TypedScriptEngine.html
@@ -0,0 +1,471 @@
+
+
+
+
+
+TypedScriptEngine (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/package-frame.html b/javadoc/1.0.0/com/diffplug/jscriptbox/package-frame.html
new file mode 100644
index 0000000..673f5fd
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/package-frame.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+com.diffplug.jscriptbox (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+
Interfaces
+
+
Classes
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/package-summary.html b/javadoc/1.0.0/com/diffplug/jscriptbox/package-summary.html
new file mode 100644
index 0000000..16f5606
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/package-summary.html
@@ -0,0 +1,219 @@
+
+
+
+
+
+com.diffplug.jscriptbox (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Prev Package
+Next Package
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface Summary
+
+Interface
+Description
+
+
+
+ArityN.Func0 <R>
+
+
+
+ArityN.Func1 <A,R>
+
+
+
+ArityN.Func2 <A,B,R>
+
+
+
+ArityN.Func3 <A,B,C,R>
+
+
+
+ArityN.Func4 <A,B,C,D,R>
+
+
+
+ArityN.Void0
+
+
+
+ArityN.Void1 <A>
+
+
+
+ArityN.Void2 <A,B>
+
+
+
+ArityN.Void3 <A,B,C>
+
+
+
+ArityN.Void4 <A,B,C,D>
+
+
+
+Language
+
+
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+ArityN
+
+We'd like to pass lambdas to
JScriptBox through a fluent API,
+ which means that we need to describe the function signature
+ in the method name.
+
+
+
+Check
+
+Cheap (and performant) knock-off of Guava's Preconditions class.
+
+
+
+JScriptBox
+
+API for exposing objects and functions to a scripting environment.
+
+
+
+TypedScriptEngine
+
+Wraps up a ScriptEngine with a null-checking and type-checking API.
+
+
+
+
+
+
+
+
+
+
+
+Prev Package
+Next Package
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/com/diffplug/jscriptbox/package-tree.html b/javadoc/1.0.0/com/diffplug/jscriptbox/package-tree.html
new file mode 100644
index 0000000..052d6ad
--- /dev/null
+++ b/javadoc/1.0.0/com/diffplug/jscriptbox/package-tree.html
@@ -0,0 +1,149 @@
+
+
+
+
+
+com.diffplug.jscriptbox Class Hierarchy (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+
Interface Hierarchy
+
+com.diffplug.jscriptbox.ArityN.Func0 <R>
+com.diffplug.jscriptbox.ArityN.Func1 <A,R>
+com.diffplug.jscriptbox.ArityN.Func2 <A,B,R>
+com.diffplug.jscriptbox.ArityN.Func3 <A,B,C,R>
+com.diffplug.jscriptbox.ArityN.Func4 <A,B,C,D,R>
+com.diffplug.jscriptbox.ArityN.Void0
+com.diffplug.jscriptbox.ArityN.Void1 <A>
+com.diffplug.jscriptbox.ArityN.Void2 <A,B>
+com.diffplug.jscriptbox.ArityN.Void3 <A,B,C>
+com.diffplug.jscriptbox.ArityN.Void4 <A,B,C,D>
+com.diffplug.jscriptbox.Language
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/constant-values.html b/javadoc/1.0.0/constant-values.html
new file mode 100644
index 0000000..548b20c
--- /dev/null
+++ b/javadoc/1.0.0/constant-values.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+Constant Field Values (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/deprecated-list.html b/javadoc/1.0.0/deprecated-list.html
new file mode 100644
index 0000000..bcdf080
--- /dev/null
+++ b/javadoc/1.0.0/deprecated-list.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+Deprecated List (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/help-doc.html b/javadoc/1.0.0/help-doc.html
new file mode 100644
index 0000000..ff6ea07
--- /dev/null
+++ b/javadoc/1.0.0/help-doc.html
@@ -0,0 +1,219 @@
+
+
+
+
+
+API Help (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Package
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+
+Interfaces (italic)
+Classes
+Enums
+Exceptions
+Errors
+Annotation Types
+
+
+
+Class/Interface
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+
+Class inheritance diagram
+Direct Subclasses
+All Known Subinterfaces
+All Known Implementing Classes
+Class/interface declaration
+Class/interface description
+
+
+Nested Class Summary
+Field Summary
+Constructor Summary
+Method Summary
+
+
+Field Detail
+Constructor Detail
+Method Detail
+
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+
+Annotation Type
+Each annotation type has its own separate page with the following sections:
+
+Annotation Type declaration
+Annotation Type description
+Required Element Summary
+Optional Element Summary
+Element Detail
+
+
+
+Enum
+Each enum has its own separate page with the following sections:
+
+Enum declaration
+Enum description
+Enum Constant Summary
+Enum Constant Detail
+
+
+
+Tree (Class Hierarchy)
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
+
+When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
+When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+
+
+Deprecated API
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+
+
+Index
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+
+
+Prev/Next
+These links take you to the next or previous class, interface, package, or related page.
+
+
+Frames/No Frames
+These links show and hide the HTML frames. All pages are available with or without frames.
+
+
+All Classes
+The All Classes link shows all classes and interfaces except non-static nested types.
+
+
+Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+
+
+Constant Field Values
+The Constant Field Values page lists the static final fields and their values.
+
+
+
This help file applies to API documentation generated using the standard doclet.
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/index-all.html b/javadoc/1.0.0/index-all.html
new file mode 100644
index 0000000..195147d
--- /dev/null
+++ b/javadoc/1.0.0/index-all.html
@@ -0,0 +1,365 @@
+
+
+
+
+
+Index (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+A B C E G I J L N P S T
+
+
+
A
+
+apply() - Method in interface com.diffplug.jscriptbox.ArityN.Func0
+
+apply(A) - Method in interface com.diffplug.jscriptbox.ArityN.Func1
+
+apply(A, B) - Method in interface com.diffplug.jscriptbox.ArityN.Func2
+
+apply(A, B, C) - Method in interface com.diffplug.jscriptbox.ArityN.Func3
+
+apply(A, B, C, D) - Method in interface com.diffplug.jscriptbox.ArityN.Func4
+
+apply() - Method in interface com.diffplug.jscriptbox.ArityN.Void0
+
+apply(A) - Method in interface com.diffplug.jscriptbox.ArityN.Void1
+
+apply(A, B) - Method in interface com.diffplug.jscriptbox.ArityN.Void2
+
+apply(A, B, C) - Method in interface com.diffplug.jscriptbox.ArityN.Void3
+
+apply(A, B, C, D) - Method in interface com.diffplug.jscriptbox.ArityN.Void4
+
+ArityN - Class in com.diffplug.jscriptbox
+
+We'd like to pass lambdas to
JScriptBox through a fluent API,
+ which means that we need to describe the function signature
+ in the method name.
+
+ArityN.Func0 <R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func1 <A ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func2 <A ,B ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func3 <A ,B ,C ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func4 <A ,B ,C ,D ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void0 - Interface in com.diffplug.jscriptbox
+
+ArityN.Void1 <A > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void2 <A ,B > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void3 <A ,B ,C > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void4 <A ,B ,C ,D > - Interface in com.diffplug.jscriptbox
+
+
+
+
+
+
B
+
+build(Language) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Returns a
ScriptEngine which has been populated with the values of this box.
+
+buildTyped(Language) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+
+
+
+
+
+
+
C
+
+cast(Object, Class<T>) - Static method in class com.diffplug.jscriptbox.Check
+
+castOpt(Object, Class<T>) - Static method in class com.diffplug.jscriptbox.Check
+
+Check - Class in com.diffplug.jscriptbox
+
+Cheap (and performant) knock-off of Guava's Preconditions class.
+
+com.diffplug.jscriptbox - package com.diffplug.jscriptbox
+
+create() - Static method in class com.diffplug.jscriptbox.JScriptBox
+
+Creates a new JScriptBox and returns it.
+
+
+
+
+
+
E
+
+eval(String) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+No return value.
+
+eval(Reader) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+No return value.
+
+eval(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+eval(Reader, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+evalOpt(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+evalOpt(Reader, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+
+
+
+
+
G
+
+get(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+getOpt(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+getRaw() - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+The underlying ScriptEngine.
+
+
+
+
+
+
I
+
+initializeEngine(Map<String, Object>) - Method in interface com.diffplug.jscriptbox.Language
+
+
+
+
+
+
J
+
+javascript() - Static method in interface com.diffplug.jscriptbox.Language
+
+Language implementation for javascript using the nashorn engine.
+
+JScriptBox - Class in com.diffplug.jscriptbox
+
+API for exposing objects and functions to a scripting environment.
+
+JScriptBox() - Constructor for class com.diffplug.jscriptbox.JScriptBox
+
+JScriptBox.NameSetter - Class in com.diffplug.jscriptbox
+
+Fluent API for setting names in this JsHarness.
+
+
+
+
+
+
L
+
+Language - Interface in com.diffplug.jscriptbox
+
+
+
+
+
+
+
+
N
+
+NameSetter(String) - Constructor for class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+
+
+
+
+
P
+
+put(String, Object) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Puts the given value into the script engine.
+
+
+
+
+
+
S
+
+set(String) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Sets a name in the script environment to be a value or a function.
+
+setAll(Map<String, ?>) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Sets all of the properties contained in the given map.
+
+
+
+
+
+
T
+
+that(boolean, String, Object) - Static method in class com.diffplug.jscriptbox.Check
+
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+that(boolean, String, Object, Object) - Static method in class com.diffplug.jscriptbox.Check
+
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+toFunc0(ArityN.Func0<R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc1(ArityN.Func1<A, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc2(ArityN.Func2<A, B, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc3(ArityN.Func3<A, B, C, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc4(ArityN.Func4<A, B, C, D, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toValue(Object) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid0(ArityN.Void0) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid1(ArityN.Void1<A>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid2(ArityN.Void2<A, B>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid3(ArityN.Void3<A, B, C>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid4(ArityN.Void4<A, B, C, D>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+TypedScriptEngine - Class in com.diffplug.jscriptbox
+
+Wraps up a ScriptEngine with a null-checking and type-checking API.
+
+TypedScriptEngine(ScriptEngine) - Constructor for class com.diffplug.jscriptbox.TypedScriptEngine
+
+
+
A B C E G I J L N P S T
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/index.html b/javadoc/1.0.0/index.html
new file mode 100644
index 0000000..0e3c998
--- /dev/null
+++ b/javadoc/1.0.0/index.html
@@ -0,0 +1,71 @@
+
+
+
+
+
+jscriptbox 1.0.0 API
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+Frame Alert
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version .
+
+
+
diff --git a/javadoc/1.0.0/overview-tree.html b/javadoc/1.0.0/overview-tree.html
new file mode 100644
index 0000000..396bafe
--- /dev/null
+++ b/javadoc/1.0.0/overview-tree.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+Class Hierarchy (jscriptbox 1.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+
Interface Hierarchy
+
+com.diffplug.jscriptbox.ArityN.Func0 <R>
+com.diffplug.jscriptbox.ArityN.Func1 <A,R>
+com.diffplug.jscriptbox.ArityN.Func2 <A,B,R>
+com.diffplug.jscriptbox.ArityN.Func3 <A,B,C,R>
+com.diffplug.jscriptbox.ArityN.Func4 <A,B,C,D,R>
+com.diffplug.jscriptbox.ArityN.Void0
+com.diffplug.jscriptbox.ArityN.Void1 <A>
+com.diffplug.jscriptbox.ArityN.Void2 <A,B>
+com.diffplug.jscriptbox.ArityN.Void3 <A,B,C>
+com.diffplug.jscriptbox.ArityN.Void4 <A,B,C,D>
+com.diffplug.jscriptbox.Language
+
+
+
+
+
+
+
+
diff --git a/javadoc/1.0.0/package-list b/javadoc/1.0.0/package-list
new file mode 100644
index 0000000..f47d9be
--- /dev/null
+++ b/javadoc/1.0.0/package-list
@@ -0,0 +1 @@
+com.diffplug.jscriptbox
diff --git a/javadoc/1.0.0/script.js b/javadoc/1.0.0/script.js
new file mode 100644
index 0000000..b346356
--- /dev/null
+++ b/javadoc/1.0.0/script.js
@@ -0,0 +1,30 @@
+function show(type)
+{
+ count = 0;
+ for (var key in methods) {
+ var row = document.getElementById(key);
+ if ((methods[key] & type) != 0) {
+ row.style.display = '';
+ row.className = (count++ % 2) ? rowColor : altColor;
+ }
+ else
+ row.style.display = 'none';
+ }
+ updateTabs(type);
+}
+
+function updateTabs(type)
+{
+ for (var value in tabs) {
+ var sNode = document.getElementById(tabs[value][0]);
+ var spanNode = sNode.firstChild;
+ if (value == type) {
+ sNode.className = activeTableTab;
+ spanNode.innerHTML = tabs[value][1];
+ }
+ else {
+ sNode.className = tableTab;
+ spanNode.innerHTML = "" + tabs[value][1] + " ";
+ }
+ }
+}
diff --git a/javadoc/1.0.0/stylesheet.css b/javadoc/1.0.0/stylesheet.css
new file mode 100644
index 0000000..cebb4fd
--- /dev/null
+++ b/javadoc/1.0.0/stylesheet.css
@@ -0,0 +1,574 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+
+@import url('resources/fonts/dejavu.css');
+
+body {
+ background-color:#ffffff;
+ color:#353833;
+ font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
+ font-size:14px;
+ margin:0;
+}
+a:link, a:visited {
+ text-decoration:none;
+ color:#4A6782;
+}
+a:hover, a:focus {
+ text-decoration:none;
+ color:#bb7a2a;
+}
+a:active {
+ text-decoration:none;
+ color:#4A6782;
+}
+a[name] {
+ color:#353833;
+}
+a[name]:hover {
+ text-decoration:none;
+ color:#353833;
+}
+pre {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+}
+h1 {
+ font-size:20px;
+}
+h2 {
+ font-size:18px;
+}
+h3 {
+ font-size:16px;
+ font-style:italic;
+}
+h4 {
+ font-size:13px;
+}
+h5 {
+ font-size:12px;
+}
+h6 {
+ font-size:11px;
+}
+ul {
+ list-style-type:disc;
+}
+code, tt {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+ margin-top:8px;
+ line-height:1.4em;
+}
+dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+}
+table tr td dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ vertical-align:top;
+ padding-top:4px;
+}
+sup {
+ font-size:8px;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+ clear:both;
+ height:0px;
+ overflow:hidden;
+}
+.aboutLanguage {
+ float:right;
+ padding:0px 21px;
+ font-size:11px;
+ z-index:200;
+ margin-top:-9px;
+}
+.legalCopy {
+ margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+ color:#FFFFFF;
+ text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+ color:#bb7a2a;
+}
+.tab {
+ background-color:#0066FF;
+ color:#ffffff;
+ padding:8px;
+ width:5em;
+ font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ padding:.8em .5em .4em .8em;
+ height:auto;/*height:1.8em;*/
+ font-size:11px;
+ margin:0;
+}
+.topNav {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.bottomNav {
+ margin-top:10px;
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav {
+ background-color:#dee3e9;
+ float:left;
+ width:100%;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav div {
+ clear:left;
+ float:left;
+ padding:0 0 5px 6px;
+ text-transform:uppercase;
+}
+ul.navList, ul.subNavList {
+ float:left;
+ margin:0 25px 0 0;
+ padding:0;
+}
+ul.navList li{
+ list-style:none;
+ float:left;
+ padding: 5px 6px;
+ text-transform:uppercase;
+}
+ul.subNavList li{
+ list-style:none;
+ float:left;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
+ color:#FFFFFF;
+ text-decoration:none;
+ text-transform:uppercase;
+}
+.topNav a:hover, .bottomNav a:hover {
+ text-decoration:none;
+ color:#bb7a2a;
+ text-transform:uppercase;
+}
+.navBarCell1Rev {
+ background-color:#F8981D;
+ color:#253441;
+ margin: auto 5px;
+}
+.skipNav {
+ position:absolute;
+ top:auto;
+ left:-9999px;
+ overflow:hidden;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+ clear:both;
+ margin:0 20px;
+ padding:5px 0 0 0;
+}
+.indexHeader {
+ margin:10px;
+ position:relative;
+}
+.indexHeader span{
+ margin-right:15px;
+}
+.indexHeader h1 {
+ font-size:13px;
+}
+.title {
+ color:#2c4557;
+ margin:10px 0;
+}
+.subTitle {
+ margin:5px 0 0 0;
+}
+.header ul {
+ margin:0 0 15px 0;
+ padding:0;
+}
+.footer ul {
+ margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+ list-style:none;
+ font-size:13px;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+ padding:0;
+ margin:15px 0;
+}
+ul.blockList li.blockList h2 {
+ padding:0px 0 20px 0;
+}
+/*
+Page layout container styles
+*/
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
+ clear:both;
+ padding:10px 20px;
+ position:relative;
+}
+.indexContainer {
+ margin:10px;
+ position:relative;
+ font-size:12px;
+}
+.indexContainer h2 {
+ font-size:13px;
+ padding:0 0 3px 0;
+}
+.indexContainer ul {
+ margin:0;
+ padding:0;
+}
+.indexContainer ul li {
+ list-style:none;
+ padding-top:2px;
+}
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
+ font-size:12px;
+ font-weight:bold;
+ margin:10px 0 0 0;
+ color:#4E4E4E;
+}
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
+ margin:5px 0 10px 0px;
+ font-size:14px;
+ font-family:'DejaVu Sans Mono',monospace;
+}
+.serializedFormContainer dl.nameValue dt {
+ margin-left:1px;
+ font-size:1.1em;
+ display:inline;
+ font-weight:bold;
+}
+.serializedFormContainer dl.nameValue dd {
+ margin:0 0 0 1px;
+ font-size:1.1em;
+ display:inline;
+}
+/*
+List styles
+*/
+ul.horizontal li {
+ display:inline;
+ font-size:0.9em;
+}
+ul.inheritance {
+ margin:0;
+ padding:0;
+}
+ul.inheritance li {
+ display:inline;
+ list-style:none;
+}
+ul.inheritance li ul.inheritance {
+ margin-left:15px;
+ padding-left:15px;
+ padding-top:1px;
+}
+ul.blockList, ul.blockListLast {
+ margin:10px 0 10px 0;
+ padding:0;
+}
+ul.blockList li.blockList, ul.blockListLast li.blockList {
+ list-style:none;
+ margin-bottom:15px;
+ line-height:1.4;
+}
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
+ padding:0px 20px 5px 10px;
+ border:1px solid #ededed;
+ background-color:#f8f8f8;
+}
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
+ padding:0 0 5px 8px;
+ background-color:#ffffff;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
+ margin-left:0;
+ padding-left:0;
+ padding-bottom:15px;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
+ list-style:none;
+ border-bottom:none;
+ padding-bottom:0;
+}
+table tr td dl, table tr td dl dt, table tr td dl dd {
+ margin-top:0;
+ margin-bottom:1px;
+}
+/*
+Table styles
+*/
+.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
+ width:100%;
+ border-left:1px solid #EEE;
+ border-right:1px solid #EEE;
+ border-bottom:1px solid #EEE;
+}
+.overviewSummary, .memberSummary {
+ padding:0px;
+}
+.overviewSummary caption, .memberSummary caption, .typeSummary caption,
+.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
+ position:relative;
+ text-align:left;
+ background-repeat:no-repeat;
+ color:#253441;
+ font-weight:bold;
+ clear:none;
+ overflow:hidden;
+ padding:0px;
+ padding-top:10px;
+ padding-left:1px;
+ margin:0px;
+ white-space:pre;
+}
+.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
+.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
+.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
+.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
+.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
+.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
+.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
+.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
+ color:#FFFFFF;
+}
+.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
+.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ padding-bottom:7px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ border: none;
+ height:16px;
+}
+.memberSummary caption span.activeTableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ height:16px;
+}
+.memberSummary caption span.tableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#4D7A97;
+ height:16px;
+}
+.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
+ padding-top:0px;
+ padding-left:0px;
+ padding-right:0px;
+ background-image:none;
+ float:none;
+ display:inline;
+}
+.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
+.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
+ display:none;
+ width:5px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .activeTableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .tableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ background-color:#4D7A97;
+ float:left;
+
+}
+.overviewSummary td, .memberSummary td, .typeSummary td,
+.useSummary td, .constantsSummary td, .deprecatedSummary td {
+ text-align:left;
+ padding:0px 0px 12px 10px;
+ width:100%;
+}
+th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
+td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
+ vertical-align:top;
+ padding-right:0px;
+ padding-top:8px;
+ padding-bottom:3px;
+}
+th.colFirst, th.colLast, th.colOne, .constantsSummary th {
+ background:#dee3e9;
+ text-align:left;
+ padding:8px 3px 3px 7px;
+}
+td.colFirst, th.colFirst {
+ white-space:nowrap;
+ font-size:13px;
+}
+td.colLast, th.colLast {
+ font-size:13px;
+}
+td.colOne, th.colOne {
+ font-size:13px;
+}
+.overviewSummary td.colFirst, .overviewSummary th.colFirst,
+.overviewSummary td.colOne, .overviewSummary th.colOne,
+.memberSummary td.colFirst, .memberSummary th.colFirst,
+.memberSummary td.colOne, .memberSummary th.colOne,
+.typeSummary td.colFirst{
+ width:25%;
+ vertical-align:top;
+}
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
+ font-weight:bold;
+}
+.tableSubHeadingColor {
+ background-color:#EEEEFF;
+}
+.altColor {
+ background-color:#FFFFFF;
+}
+.rowColor {
+ background-color:#EEEEEF;
+}
+/*
+Content styles
+*/
+.description pre {
+ margin-top:0;
+}
+.deprecatedContent {
+ margin:0;
+ padding:10px 0;
+}
+.docSummary {
+ padding:0;
+}
+
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ font-style:normal;
+}
+
+div.block {
+ font-size:14px;
+ font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
+}
+
+td.colLast div {
+ padding-top:0px;
+}
+
+
+td.colLast a {
+ padding-bottom:3px;
+}
+/*
+Formatting effect styles
+*/
+.sourceLineNo {
+ color:green;
+ padding:0 30px 0 0;
+}
+h1.hidden {
+ visibility:hidden;
+ overflow:hidden;
+ font-size:10px;
+}
+.block {
+ display:block;
+ margin:3px 10px 2px 0px;
+ color:#474747;
+}
+.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
+.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
+.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
+ font-weight:bold;
+}
+.deprecationComment, .emphasizedPhrase, .interfaceName {
+ font-style:italic;
+}
+
+div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
+div.block div.block span.interfaceName {
+ font-style:normal;
+}
+
+div.contentContainer ul.blockList li.blockList h2{
+ padding-bottom:0px;
+}
diff --git a/javadoc/2.0.0/allclasses-frame.html b/javadoc/2.0.0/allclasses-frame.html
new file mode 100644
index 0000000..27fc66e
--- /dev/null
+++ b/javadoc/2.0.0/allclasses-frame.html
@@ -0,0 +1,34 @@
+
+
+
+
+
+All Classes (jscriptbox 2.0.0 API)
+
+
+
+
+
+All Classes
+
+
+
diff --git a/javadoc/2.0.0/allclasses-noframe.html b/javadoc/2.0.0/allclasses-noframe.html
new file mode 100644
index 0000000..6dac14f
--- /dev/null
+++ b/javadoc/2.0.0/allclasses-noframe.html
@@ -0,0 +1,34 @@
+
+
+
+
+
+All Classes (jscriptbox 2.0.0 API)
+
+
+
+
+
+All Classes
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func0.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func0.html
new file mode 100644
index 0000000..1865493
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func0.html
@@ -0,0 +1,235 @@
+
+
+
+
+
+ArityN.Func0 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func1.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func1.html
new file mode 100644
index 0000000..4d4e13a
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func1.html
@@ -0,0 +1,237 @@
+
+
+
+
+
+ArityN.Func1 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func2.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func2.html
new file mode 100644
index 0000000..b09c1e8
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func2.html
@@ -0,0 +1,239 @@
+
+
+
+
+
+ArityN.Func2 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func3.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func3.html
new file mode 100644
index 0000000..03b70ae
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func3.html
@@ -0,0 +1,241 @@
+
+
+
+
+
+ArityN.Func3 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func4.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func4.html
new file mode 100644
index 0000000..4effac7
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Func4.html
@@ -0,0 +1,243 @@
+
+
+
+
+
+ArityN.Func4 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enclosing class:
+ArityN
+
+
+Functional Interface:
+This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
+
+
+
+@FunctionalInterface
+public static interface ArityN.Func4<A,B,C,D,R>
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void0.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void0.html
new file mode 100644
index 0000000..94752ec
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void0.html
@@ -0,0 +1,235 @@
+
+
+
+
+
+ArityN.Void0 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void1.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void1.html
new file mode 100644
index 0000000..7ab124f
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void1.html
@@ -0,0 +1,237 @@
+
+
+
+
+
+ArityN.Void1 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void2.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void2.html
new file mode 100644
index 0000000..980ebbd
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void2.html
@@ -0,0 +1,239 @@
+
+
+
+
+
+ArityN.Void2 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void3.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void3.html
new file mode 100644
index 0000000..37f95cb
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void3.html
@@ -0,0 +1,241 @@
+
+
+
+
+
+ArityN.Void3 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void4.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void4.html
new file mode 100644
index 0000000..f92df41
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.Void4.html
@@ -0,0 +1,243 @@
+
+
+
+
+
+ArityN.Void4 (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.html b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.html
new file mode 100644
index 0000000..f979198
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/ArityN.html
@@ -0,0 +1,259 @@
+
+
+
+
+
+ArityN (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes
+
+Modifier and Type
+Class and Description
+
+
+static interface
+ArityN.Func0 <R >
+
+
+static interface
+ArityN.Func1 <A ,R >
+
+
+static interface
+ArityN.Func2 <A ,B ,R >
+
+
+static interface
+ArityN.Func3 <A ,B ,C ,R >
+
+
+static interface
+ArityN.Func4 <A ,B ,C ,D ,R >
+
+
+static interface
+ArityN.Void0
+
+
+static interface
+ArityN.Void1 <A >
+
+
+static interface
+ArityN.Void2 <A ,B >
+
+
+static interface
+ArityN.Void3 <A ,B ,C >
+
+
+static interface
+ArityN.Void4 <A ,B ,C ,D >
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/Check.html b/javadoc/2.0.0/com/diffplug/jscriptbox/Check.html
new file mode 100644
index 0000000..d322442
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/Check.html
@@ -0,0 +1,297 @@
+
+
+
+
+
+Check (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Static Methods Concrete Methods
+
+Modifier and Type
+Method and Description
+
+
+static <T> T
+cast (Object o,
+ Class <T> clazz)
+
+
+static <T> Optional <T>
+castOpt (Object o,
+ Class <T> clazz)
+
+
+static void
+that (boolean test,
+ String errorMsg,
+ Object o0)
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+
+
+static void
+that (boolean test,
+ String errorMsg,
+ Object o0,
+ Object o1)
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+that
+public static void that(boolean test,
+ String errorMsg,
+ Object o0)
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+
+
+
+
+
+
+that
+public static void that(boolean test,
+ String errorMsg,
+ Object o0,
+ Object o1)
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/JScriptBox.NameSetter.html b/javadoc/2.0.0/com/diffplug/jscriptbox/JScriptBox.NameSetter.html
new file mode 100644
index 0000000..09de3c7
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/JScriptBox.NameSetter.html
@@ -0,0 +1,406 @@
+
+
+
+
+
+JScriptBox.NameSetter (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods
+
+Modifier and Type
+Method and Description
+
+
+<R> JScriptBox
+toFunc0 (ArityN.Func0 <R> value)
+
+
+<A,R> JScriptBox
+toFunc1 (ArityN.Func1 <A,R> value)
+
+
+<A,B,R> JScriptBox
+toFunc2 (ArityN.Func2 <A,B,R> value)
+
+
+<A,B,C,R> JScriptBox
+toFunc3 (ArityN.Func3 <A,B,C,R> value)
+
+
+<A,B,C,D,R>JScriptBox
+toFunc4 (ArityN.Func4 <A,B,C,D,R> value)
+
+
+JScriptBox
+toValue (Object value)
+
+
+JScriptBox
+toVoid0 (ArityN.Void0 value)
+
+
+<A> JScriptBox
+toVoid1 (ArityN.Void1 <A> value)
+
+
+<A,B> JScriptBox
+toVoid2 (ArityN.Void2 <A,B> value)
+
+
+<A,B,C> JScriptBox
+toVoid3 (ArityN.Void3 <A,B,C> value)
+
+
+<A,B,C,D> JScriptBox
+toVoid4 (ArityN.Void4 <A,B,C,D> value)
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/JScriptBox.html b/javadoc/2.0.0/com/diffplug/jscriptbox/JScriptBox.html
new file mode 100644
index 0000000..4a9f5d7
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/JScriptBox.html
@@ -0,0 +1,404 @@
+
+
+
+
+
+JScriptBox (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes
+
+Modifier and Type
+Class and Description
+
+
+class
+JScriptBox.NameSetter
+Fluent API for setting names in this JsHarness.
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Modifier
+Constructor and Description
+
+
+protected
+JScriptBox ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+JScriptBox
+protected JScriptBox()
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+setAll
+public JScriptBox setAll(Map <String ,?> map)
+Sets all of the properties contained in the given map. Throws an error if one of the entry keys isn't a valid identifier.
+
+
+
+
+
+
+
+setAllValid
+public JScriptBox setAllValid(Map <String ,?> map)
+Sets all of the properties contained in the given map for which the key is a valid identifier.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/Language.html b/javadoc/2.0.0/com/diffplug/jscriptbox/Language.html
new file mode 100644
index 0000000..15679a7
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/Language.html
@@ -0,0 +1,231 @@
+
+
+
+
+
+Language (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/TypedScriptEngine.html b/javadoc/2.0.0/com/diffplug/jscriptbox/TypedScriptEngine.html
new file mode 100644
index 0000000..bae639c
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/TypedScriptEngine.html
@@ -0,0 +1,473 @@
+
+
+
+
+
+TypedScriptEngine (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/Nashorn.html b/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/Nashorn.html
new file mode 100644
index 0000000..6537892
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/Nashorn.html
@@ -0,0 +1,274 @@
+
+
+
+
+
+Nashorn (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Nashorn ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+Nashorn
+public Nashorn()
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-frame.html b/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-frame.html
new file mode 100644
index 0000000..899d771
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-frame.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+com.diffplug.jscriptbox.javascript (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-summary.html b/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-summary.html
new file mode 100644
index 0000000..ae2494a
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-summary.html
@@ -0,0 +1,142 @@
+
+
+
+
+
+com.diffplug.jscriptbox.javascript (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+Nashorn
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-tree.html b/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-tree.html
new file mode 100644
index 0000000..8a2144e
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/javascript/package-tree.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+com.diffplug.jscriptbox.javascript Class Hierarchy (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.diffplug.jscriptbox.javascript.Nashorn
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/package-frame.html b/javadoc/2.0.0/com/diffplug/jscriptbox/package-frame.html
new file mode 100644
index 0000000..19e6b49
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/package-frame.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+com.diffplug.jscriptbox (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+
Interfaces
+
+
Classes
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/package-summary.html b/javadoc/2.0.0/com/diffplug/jscriptbox/package-summary.html
new file mode 100644
index 0000000..0d04f4a
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/package-summary.html
@@ -0,0 +1,221 @@
+
+
+
+
+
+com.diffplug.jscriptbox (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Interface Summary
+
+Interface
+Description
+
+
+
+ArityN.Func0 <R>
+
+
+
+ArityN.Func1 <A,R>
+
+
+
+ArityN.Func2 <A,B,R>
+
+
+
+ArityN.Func3 <A,B,C,R>
+
+
+
+ArityN.Func4 <A,B,C,D,R>
+
+
+
+ArityN.Void0
+
+
+
+ArityN.Void1 <A>
+
+
+
+ArityN.Void2 <A,B>
+
+
+
+ArityN.Void3 <A,B,C>
+
+
+
+ArityN.Void4 <A,B,C,D>
+
+
+
+Language
+
+
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+ArityN
+
+We'd like to pass lambdas to
JScriptBox through a fluent API,
+ which means that we need to describe the function signature
+ in the method name.
+
+
+
+Check
+
+Cheap (and performant) knock-off of Guava's Preconditions class.
+
+
+
+JScriptBox
+
+API for exposing objects and functions to a scripting environment.
+
+
+
+TypedScriptEngine
+
+Wraps up a ScriptEngine with a null-checking and type-checking API.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/com/diffplug/jscriptbox/package-tree.html b/javadoc/2.0.0/com/diffplug/jscriptbox/package-tree.html
new file mode 100644
index 0000000..c05caed
--- /dev/null
+++ b/javadoc/2.0.0/com/diffplug/jscriptbox/package-tree.html
@@ -0,0 +1,155 @@
+
+
+
+
+
+com.diffplug.jscriptbox Class Hierarchy (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+
Interface Hierarchy
+
+com.diffplug.jscriptbox.ArityN.Func0 <R>
+com.diffplug.jscriptbox.ArityN.Func1 <A,R>
+com.diffplug.jscriptbox.ArityN.Func2 <A,B,R>
+com.diffplug.jscriptbox.ArityN.Func3 <A,B,C,R>
+com.diffplug.jscriptbox.ArityN.Func4 <A,B,C,D,R>
+com.diffplug.jscriptbox.ArityN.Void0
+com.diffplug.jscriptbox.ArityN.Void1 <A>
+com.diffplug.jscriptbox.ArityN.Void2 <A,B>
+com.diffplug.jscriptbox.ArityN.Void3 <A,B,C>
+com.diffplug.jscriptbox.ArityN.Void4 <A,B,C,D>
+com.diffplug.jscriptbox.Language
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/constant-values.html b/javadoc/2.0.0/constant-values.html
new file mode 100644
index 0000000..50d2f8b
--- /dev/null
+++ b/javadoc/2.0.0/constant-values.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+Constant Field Values (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/deprecated-list.html b/javadoc/2.0.0/deprecated-list.html
new file mode 100644
index 0000000..c72ee17
--- /dev/null
+++ b/javadoc/2.0.0/deprecated-list.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+Deprecated List (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/help-doc.html b/javadoc/2.0.0/help-doc.html
new file mode 100644
index 0000000..cd59da7
--- /dev/null
+++ b/javadoc/2.0.0/help-doc.html
@@ -0,0 +1,225 @@
+
+
+
+
+
+API Help (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Overview
+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+
+
+Package
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+
+Interfaces (italic)
+Classes
+Enums
+Exceptions
+Errors
+Annotation Types
+
+
+
+Class/Interface
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+
+Class inheritance diagram
+Direct Subclasses
+All Known Subinterfaces
+All Known Implementing Classes
+Class/interface declaration
+Class/interface description
+
+
+Nested Class Summary
+Field Summary
+Constructor Summary
+Method Summary
+
+
+Field Detail
+Constructor Detail
+Method Detail
+
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+
+Annotation Type
+Each annotation type has its own separate page with the following sections:
+
+Annotation Type declaration
+Annotation Type description
+Required Element Summary
+Optional Element Summary
+Element Detail
+
+
+
+Enum
+Each enum has its own separate page with the following sections:
+
+Enum declaration
+Enum description
+Enum Constant Summary
+Enum Constant Detail
+
+
+
+Tree (Class Hierarchy)
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
+
+When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
+When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+
+
+Deprecated API
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+
+
+Index
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+
+
+Prev/Next
+These links take you to the next or previous class, interface, package, or related page.
+
+
+Frames/No Frames
+These links show and hide the HTML frames. All pages are available with or without frames.
+
+
+All Classes
+The All Classes link shows all classes and interfaces except non-static nested types.
+
+
+Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+
+
+Constant Field Values
+The Constant Field Values page lists the static final fields and their values.
+
+
+
This help file applies to API documentation generated using the standard doclet.
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/index-all.html b/javadoc/2.0.0/index-all.html
new file mode 100644
index 0000000..0fc7fa4
--- /dev/null
+++ b/javadoc/2.0.0/index-all.html
@@ -0,0 +1,381 @@
+
+
+
+
+
+Index (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+A B C E G I J L N P S T
+
+
+
A
+
+apply() - Method in interface com.diffplug.jscriptbox.ArityN.Func0
+
+apply(A) - Method in interface com.diffplug.jscriptbox.ArityN.Func1
+
+apply(A, B) - Method in interface com.diffplug.jscriptbox.ArityN.Func2
+
+apply(A, B, C) - Method in interface com.diffplug.jscriptbox.ArityN.Func3
+
+apply(A, B, C, D) - Method in interface com.diffplug.jscriptbox.ArityN.Func4
+
+apply() - Method in interface com.diffplug.jscriptbox.ArityN.Void0
+
+apply(A) - Method in interface com.diffplug.jscriptbox.ArityN.Void1
+
+apply(A, B) - Method in interface com.diffplug.jscriptbox.ArityN.Void2
+
+apply(A, B, C) - Method in interface com.diffplug.jscriptbox.ArityN.Void3
+
+apply(A, B, C, D) - Method in interface com.diffplug.jscriptbox.ArityN.Void4
+
+ArityN - Class in com.diffplug.jscriptbox
+
+We'd like to pass lambdas to
JScriptBox through a fluent API,
+ which means that we need to describe the function signature
+ in the method name.
+
+ArityN.Func0 <R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func1 <A ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func2 <A ,B ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func3 <A ,B ,C ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func4 <A ,B ,C ,D ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void0 - Interface in com.diffplug.jscriptbox
+
+ArityN.Void1 <A > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void2 <A ,B > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void3 <A ,B ,C > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void4 <A ,B ,C ,D > - Interface in com.diffplug.jscriptbox
+
+
+
+
+
+
B
+
+build(Language) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Returns a
ScriptEngine which has been populated with the values of this box.
+
+buildTyped(Language) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+
+
+
+
+
+
+
C
+
+cast(Object, Class<T>) - Static method in class com.diffplug.jscriptbox.Check
+
+castOpt(Object, Class<T>) - Static method in class com.diffplug.jscriptbox.Check
+
+Check - Class in com.diffplug.jscriptbox
+
+Cheap (and performant) knock-off of Guava's Preconditions class.
+
+com.diffplug.jscriptbox - package com.diffplug.jscriptbox
+
+com.diffplug.jscriptbox.javascript - package com.diffplug.jscriptbox.javascript
+
+create() - Static method in class com.diffplug.jscriptbox.JScriptBox
+
+Creates a new JScriptBox and returns it.
+
+
+
+
+
+
E
+
+eval(String) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+No return value.
+
+eval(Reader) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+No return value.
+
+eval(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+eval(Reader, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+evalOpt(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+evalOpt(Reader, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+
+
+
+
+
G
+
+get(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+getOpt(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+getRaw() - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+The underlying ScriptEngine.
+
+
+
+
+
+
I
+
+initializeEngine(Map<String, Object>) - Method in interface com.diffplug.jscriptbox.Language
+
+isValidIdentifier(String) - Static method in class com.diffplug.jscriptbox.JScriptBox
+
+Checks that the given name is a valid identifier.
+
+
+
+
+
+
J
+
+JScriptBox - Class in com.diffplug.jscriptbox
+
+API for exposing objects and functions to a scripting environment.
+
+JScriptBox() - Constructor for class com.diffplug.jscriptbox.JScriptBox
+
+JScriptBox.NameSetter - Class in com.diffplug.jscriptbox
+
+Fluent API for setting names in this JsHarness.
+
+
+
+
+
+
L
+
+language() - Static method in class com.diffplug.jscriptbox.javascript.Nashorn
+
+Language implementation for javascript using the nashorn engine.
+
+Language - Interface in com.diffplug.jscriptbox
+
+
+
+
+
+
+
+
N
+
+NameSetter(String) - Constructor for class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+Nashorn - Class in com.diffplug.jscriptbox.javascript
+
+Nashorn() - Constructor for class com.diffplug.jscriptbox.javascript.Nashorn
+
+
+
+
+
+
P
+
+put(String, Object) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Puts the given value into the script engine.
+
+
+
+
+
+
S
+
+set(String) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Sets a name in the script environment to be a value or a function.
+
+setAll(Map<String, ?>) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Sets all of the properties contained in the given map.
+
+setAllValid(Map<String, ?>) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Sets all of the properties contained in the given map for which the key is a valid identifier.
+
+
+
+
+
+
T
+
+that(boolean, String, Object) - Static method in class com.diffplug.jscriptbox.Check
+
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+that(boolean, String, Object, Object) - Static method in class com.diffplug.jscriptbox.Check
+
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+toFunc0(ArityN.Func0<R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc1(ArityN.Func1<A, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc2(ArityN.Func2<A, B, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc3(ArityN.Func3<A, B, C, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc4(ArityN.Func4<A, B, C, D, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toValue(Object) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid0(ArityN.Void0) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid1(ArityN.Void1<A>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid2(ArityN.Void2<A, B>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid3(ArityN.Void3<A, B, C>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid4(ArityN.Void4<A, B, C, D>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+TypedScriptEngine - Class in com.diffplug.jscriptbox
+
+Wraps up a ScriptEngine with a null-checking and type-checking API.
+
+TypedScriptEngine(ScriptEngine) - Constructor for class com.diffplug.jscriptbox.TypedScriptEngine
+
+
+
A B C E G I J L N P S T
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/index.html b/javadoc/2.0.0/index.html
new file mode 100644
index 0000000..d54a68e
--- /dev/null
+++ b/javadoc/2.0.0/index.html
@@ -0,0 +1,74 @@
+
+
+
+
+
+jscriptbox 2.0.0 API
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+Frame Alert
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version .
+
+
+
diff --git a/javadoc/2.0.0/overview-frame.html b/javadoc/2.0.0/overview-frame.html
new file mode 100644
index 0000000..c2f23e3
--- /dev/null
+++ b/javadoc/2.0.0/overview-frame.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+Overview List (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/overview-summary.html b/javadoc/2.0.0/overview-summary.html
new file mode 100644
index 0000000..c6fccde
--- /dev/null
+++ b/javadoc/2.0.0/overview-summary.html
@@ -0,0 +1,142 @@
+
+
+
+
+
+Overview (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/overview-tree.html b/javadoc/2.0.0/overview-tree.html
new file mode 100644
index 0000000..2724904
--- /dev/null
+++ b/javadoc/2.0.0/overview-tree.html
@@ -0,0 +1,157 @@
+
+
+
+
+
+Class Hierarchy (jscriptbox 2.0.0 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+
Interface Hierarchy
+
+com.diffplug.jscriptbox.ArityN.Func0 <R>
+com.diffplug.jscriptbox.ArityN.Func1 <A,R>
+com.diffplug.jscriptbox.ArityN.Func2 <A,B,R>
+com.diffplug.jscriptbox.ArityN.Func3 <A,B,C,R>
+com.diffplug.jscriptbox.ArityN.Func4 <A,B,C,D,R>
+com.diffplug.jscriptbox.ArityN.Void0
+com.diffplug.jscriptbox.ArityN.Void1 <A>
+com.diffplug.jscriptbox.ArityN.Void2 <A,B>
+com.diffplug.jscriptbox.ArityN.Void3 <A,B,C>
+com.diffplug.jscriptbox.ArityN.Void4 <A,B,C,D>
+com.diffplug.jscriptbox.Language
+
+
+
+
+
+
+
+
diff --git a/javadoc/2.0.0/package-list b/javadoc/2.0.0/package-list
new file mode 100644
index 0000000..bd29626
--- /dev/null
+++ b/javadoc/2.0.0/package-list
@@ -0,0 +1,2 @@
+com.diffplug.jscriptbox
+com.diffplug.jscriptbox.javascript
diff --git a/javadoc/2.0.0/script.js b/javadoc/2.0.0/script.js
new file mode 100644
index 0000000..b346356
--- /dev/null
+++ b/javadoc/2.0.0/script.js
@@ -0,0 +1,30 @@
+function show(type)
+{
+ count = 0;
+ for (var key in methods) {
+ var row = document.getElementById(key);
+ if ((methods[key] & type) != 0) {
+ row.style.display = '';
+ row.className = (count++ % 2) ? rowColor : altColor;
+ }
+ else
+ row.style.display = 'none';
+ }
+ updateTabs(type);
+}
+
+function updateTabs(type)
+{
+ for (var value in tabs) {
+ var sNode = document.getElementById(tabs[value][0]);
+ var spanNode = sNode.firstChild;
+ if (value == type) {
+ sNode.className = activeTableTab;
+ spanNode.innerHTML = tabs[value][1];
+ }
+ else {
+ sNode.className = tableTab;
+ spanNode.innerHTML = "" + tabs[value][1] + " ";
+ }
+ }
+}
diff --git a/javadoc/2.0.0/stylesheet.css b/javadoc/2.0.0/stylesheet.css
new file mode 100644
index 0000000..cebb4fd
--- /dev/null
+++ b/javadoc/2.0.0/stylesheet.css
@@ -0,0 +1,574 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+
+@import url('resources/fonts/dejavu.css');
+
+body {
+ background-color:#ffffff;
+ color:#353833;
+ font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
+ font-size:14px;
+ margin:0;
+}
+a:link, a:visited {
+ text-decoration:none;
+ color:#4A6782;
+}
+a:hover, a:focus {
+ text-decoration:none;
+ color:#bb7a2a;
+}
+a:active {
+ text-decoration:none;
+ color:#4A6782;
+}
+a[name] {
+ color:#353833;
+}
+a[name]:hover {
+ text-decoration:none;
+ color:#353833;
+}
+pre {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+}
+h1 {
+ font-size:20px;
+}
+h2 {
+ font-size:18px;
+}
+h3 {
+ font-size:16px;
+ font-style:italic;
+}
+h4 {
+ font-size:13px;
+}
+h5 {
+ font-size:12px;
+}
+h6 {
+ font-size:11px;
+}
+ul {
+ list-style-type:disc;
+}
+code, tt {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+ margin-top:8px;
+ line-height:1.4em;
+}
+dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+}
+table tr td dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ vertical-align:top;
+ padding-top:4px;
+}
+sup {
+ font-size:8px;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+ clear:both;
+ height:0px;
+ overflow:hidden;
+}
+.aboutLanguage {
+ float:right;
+ padding:0px 21px;
+ font-size:11px;
+ z-index:200;
+ margin-top:-9px;
+}
+.legalCopy {
+ margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+ color:#FFFFFF;
+ text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+ color:#bb7a2a;
+}
+.tab {
+ background-color:#0066FF;
+ color:#ffffff;
+ padding:8px;
+ width:5em;
+ font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ padding:.8em .5em .4em .8em;
+ height:auto;/*height:1.8em;*/
+ font-size:11px;
+ margin:0;
+}
+.topNav {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.bottomNav {
+ margin-top:10px;
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav {
+ background-color:#dee3e9;
+ float:left;
+ width:100%;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav div {
+ clear:left;
+ float:left;
+ padding:0 0 5px 6px;
+ text-transform:uppercase;
+}
+ul.navList, ul.subNavList {
+ float:left;
+ margin:0 25px 0 0;
+ padding:0;
+}
+ul.navList li{
+ list-style:none;
+ float:left;
+ padding: 5px 6px;
+ text-transform:uppercase;
+}
+ul.subNavList li{
+ list-style:none;
+ float:left;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
+ color:#FFFFFF;
+ text-decoration:none;
+ text-transform:uppercase;
+}
+.topNav a:hover, .bottomNav a:hover {
+ text-decoration:none;
+ color:#bb7a2a;
+ text-transform:uppercase;
+}
+.navBarCell1Rev {
+ background-color:#F8981D;
+ color:#253441;
+ margin: auto 5px;
+}
+.skipNav {
+ position:absolute;
+ top:auto;
+ left:-9999px;
+ overflow:hidden;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+ clear:both;
+ margin:0 20px;
+ padding:5px 0 0 0;
+}
+.indexHeader {
+ margin:10px;
+ position:relative;
+}
+.indexHeader span{
+ margin-right:15px;
+}
+.indexHeader h1 {
+ font-size:13px;
+}
+.title {
+ color:#2c4557;
+ margin:10px 0;
+}
+.subTitle {
+ margin:5px 0 0 0;
+}
+.header ul {
+ margin:0 0 15px 0;
+ padding:0;
+}
+.footer ul {
+ margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+ list-style:none;
+ font-size:13px;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+ padding:0;
+ margin:15px 0;
+}
+ul.blockList li.blockList h2 {
+ padding:0px 0 20px 0;
+}
+/*
+Page layout container styles
+*/
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
+ clear:both;
+ padding:10px 20px;
+ position:relative;
+}
+.indexContainer {
+ margin:10px;
+ position:relative;
+ font-size:12px;
+}
+.indexContainer h2 {
+ font-size:13px;
+ padding:0 0 3px 0;
+}
+.indexContainer ul {
+ margin:0;
+ padding:0;
+}
+.indexContainer ul li {
+ list-style:none;
+ padding-top:2px;
+}
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
+ font-size:12px;
+ font-weight:bold;
+ margin:10px 0 0 0;
+ color:#4E4E4E;
+}
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
+ margin:5px 0 10px 0px;
+ font-size:14px;
+ font-family:'DejaVu Sans Mono',monospace;
+}
+.serializedFormContainer dl.nameValue dt {
+ margin-left:1px;
+ font-size:1.1em;
+ display:inline;
+ font-weight:bold;
+}
+.serializedFormContainer dl.nameValue dd {
+ margin:0 0 0 1px;
+ font-size:1.1em;
+ display:inline;
+}
+/*
+List styles
+*/
+ul.horizontal li {
+ display:inline;
+ font-size:0.9em;
+}
+ul.inheritance {
+ margin:0;
+ padding:0;
+}
+ul.inheritance li {
+ display:inline;
+ list-style:none;
+}
+ul.inheritance li ul.inheritance {
+ margin-left:15px;
+ padding-left:15px;
+ padding-top:1px;
+}
+ul.blockList, ul.blockListLast {
+ margin:10px 0 10px 0;
+ padding:0;
+}
+ul.blockList li.blockList, ul.blockListLast li.blockList {
+ list-style:none;
+ margin-bottom:15px;
+ line-height:1.4;
+}
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
+ padding:0px 20px 5px 10px;
+ border:1px solid #ededed;
+ background-color:#f8f8f8;
+}
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
+ padding:0 0 5px 8px;
+ background-color:#ffffff;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
+ margin-left:0;
+ padding-left:0;
+ padding-bottom:15px;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
+ list-style:none;
+ border-bottom:none;
+ padding-bottom:0;
+}
+table tr td dl, table tr td dl dt, table tr td dl dd {
+ margin-top:0;
+ margin-bottom:1px;
+}
+/*
+Table styles
+*/
+.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
+ width:100%;
+ border-left:1px solid #EEE;
+ border-right:1px solid #EEE;
+ border-bottom:1px solid #EEE;
+}
+.overviewSummary, .memberSummary {
+ padding:0px;
+}
+.overviewSummary caption, .memberSummary caption, .typeSummary caption,
+.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
+ position:relative;
+ text-align:left;
+ background-repeat:no-repeat;
+ color:#253441;
+ font-weight:bold;
+ clear:none;
+ overflow:hidden;
+ padding:0px;
+ padding-top:10px;
+ padding-left:1px;
+ margin:0px;
+ white-space:pre;
+}
+.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
+.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
+.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
+.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
+.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
+.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
+.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
+.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
+ color:#FFFFFF;
+}
+.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
+.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ padding-bottom:7px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ border: none;
+ height:16px;
+}
+.memberSummary caption span.activeTableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ height:16px;
+}
+.memberSummary caption span.tableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#4D7A97;
+ height:16px;
+}
+.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
+ padding-top:0px;
+ padding-left:0px;
+ padding-right:0px;
+ background-image:none;
+ float:none;
+ display:inline;
+}
+.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
+.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
+ display:none;
+ width:5px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .activeTableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .tableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ background-color:#4D7A97;
+ float:left;
+
+}
+.overviewSummary td, .memberSummary td, .typeSummary td,
+.useSummary td, .constantsSummary td, .deprecatedSummary td {
+ text-align:left;
+ padding:0px 0px 12px 10px;
+ width:100%;
+}
+th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
+td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
+ vertical-align:top;
+ padding-right:0px;
+ padding-top:8px;
+ padding-bottom:3px;
+}
+th.colFirst, th.colLast, th.colOne, .constantsSummary th {
+ background:#dee3e9;
+ text-align:left;
+ padding:8px 3px 3px 7px;
+}
+td.colFirst, th.colFirst {
+ white-space:nowrap;
+ font-size:13px;
+}
+td.colLast, th.colLast {
+ font-size:13px;
+}
+td.colOne, th.colOne {
+ font-size:13px;
+}
+.overviewSummary td.colFirst, .overviewSummary th.colFirst,
+.overviewSummary td.colOne, .overviewSummary th.colOne,
+.memberSummary td.colFirst, .memberSummary th.colFirst,
+.memberSummary td.colOne, .memberSummary th.colOne,
+.typeSummary td.colFirst{
+ width:25%;
+ vertical-align:top;
+}
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
+ font-weight:bold;
+}
+.tableSubHeadingColor {
+ background-color:#EEEEFF;
+}
+.altColor {
+ background-color:#FFFFFF;
+}
+.rowColor {
+ background-color:#EEEEEF;
+}
+/*
+Content styles
+*/
+.description pre {
+ margin-top:0;
+}
+.deprecatedContent {
+ margin:0;
+ padding:10px 0;
+}
+.docSummary {
+ padding:0;
+}
+
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ font-style:normal;
+}
+
+div.block {
+ font-size:14px;
+ font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
+}
+
+td.colLast div {
+ padding-top:0px;
+}
+
+
+td.colLast a {
+ padding-bottom:3px;
+}
+/*
+Formatting effect styles
+*/
+.sourceLineNo {
+ color:green;
+ padding:0 30px 0 0;
+}
+h1.hidden {
+ visibility:hidden;
+ overflow:hidden;
+ font-size:10px;
+}
+.block {
+ display:block;
+ margin:3px 10px 2px 0px;
+ color:#474747;
+}
+.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
+.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
+.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
+ font-weight:bold;
+}
+.deprecationComment, .emphasizedPhrase, .interfaceName {
+ font-style:italic;
+}
+
+div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
+div.block div.block span.interfaceName {
+ font-style:normal;
+}
+
+div.contentContainer ul.blockList li.blockList h2{
+ padding-bottom:0px;
+}
diff --git a/javadoc/snapshot/allclasses-frame.html b/javadoc/snapshot/allclasses-frame.html
new file mode 100644
index 0000000..26b6c45
--- /dev/null
+++ b/javadoc/snapshot/allclasses-frame.html
@@ -0,0 +1,35 @@
+
+
+
+
+
+All Classes (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+All Classes
+
+
+
diff --git a/javadoc/snapshot/allclasses-noframe.html b/javadoc/snapshot/allclasses-noframe.html
new file mode 100644
index 0000000..7302387
--- /dev/null
+++ b/javadoc/snapshot/allclasses-noframe.html
@@ -0,0 +1,35 @@
+
+
+
+
+
+All Classes (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+All Classes
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func0.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func0.html
new file mode 100644
index 0000000..c3861cc
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func0.html
@@ -0,0 +1,235 @@
+
+
+
+
+
+ArityN.Func0 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func1.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func1.html
new file mode 100644
index 0000000..3205dac
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func1.html
@@ -0,0 +1,237 @@
+
+
+
+
+
+ArityN.Func1 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func2.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func2.html
new file mode 100644
index 0000000..20a4d8e
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func2.html
@@ -0,0 +1,239 @@
+
+
+
+
+
+ArityN.Func2 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func3.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func3.html
new file mode 100644
index 0000000..d664ff9
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func3.html
@@ -0,0 +1,241 @@
+
+
+
+
+
+ArityN.Func3 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func4.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func4.html
new file mode 100644
index 0000000..e125859
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Func4.html
@@ -0,0 +1,243 @@
+
+
+
+
+
+ArityN.Func4 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enclosing class:
+ArityN
+
+
+Functional Interface:
+This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
+
+
+
+@FunctionalInterface
+public static interface ArityN.Func4<A,B,C,D,R>
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void0.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void0.html
new file mode 100644
index 0000000..f99de41
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void0.html
@@ -0,0 +1,235 @@
+
+
+
+
+
+ArityN.Void0 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void1.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void1.html
new file mode 100644
index 0000000..6e3691b
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void1.html
@@ -0,0 +1,237 @@
+
+
+
+
+
+ArityN.Void1 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void2.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void2.html
new file mode 100644
index 0000000..9ffd420
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void2.html
@@ -0,0 +1,239 @@
+
+
+
+
+
+ArityN.Void2 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void3.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void3.html
new file mode 100644
index 0000000..a620df4
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void3.html
@@ -0,0 +1,241 @@
+
+
+
+
+
+ArityN.Void3 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void4.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void4.html
new file mode 100644
index 0000000..a3f05f7
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.Void4.html
@@ -0,0 +1,243 @@
+
+
+
+
+
+ArityN.Void4 (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.html b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.html
new file mode 100644
index 0000000..9628116
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/ArityN.html
@@ -0,0 +1,259 @@
+
+
+
+
+
+ArityN (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes
+
+Modifier and Type
+Class and Description
+
+
+static interface
+ArityN.Func0 <R >
+
+
+static interface
+ArityN.Func1 <A ,R >
+
+
+static interface
+ArityN.Func2 <A ,B ,R >
+
+
+static interface
+ArityN.Func3 <A ,B ,C ,R >
+
+
+static interface
+ArityN.Func4 <A ,B ,C ,D ,R >
+
+
+static interface
+ArityN.Void0
+
+
+static interface
+ArityN.Void1 <A >
+
+
+static interface
+ArityN.Void2 <A ,B >
+
+
+static interface
+ArityN.Void3 <A ,B ,C >
+
+
+static interface
+ArityN.Void4 <A ,B ,C ,D >
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/Check.html b/javadoc/snapshot/com/diffplug/jscriptbox/Check.html
new file mode 100644
index 0000000..f0a693c
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/Check.html
@@ -0,0 +1,297 @@
+
+
+
+
+
+Check (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Static Methods Concrete Methods
+
+Modifier and Type
+Method and Description
+
+
+static <T> T
+cast (Object o,
+ Class <T> clazz)
+
+
+static <T> Optional <T>
+castOpt (Object o,
+ Class <T> clazz)
+
+
+static void
+that (boolean test,
+ String errorMsg,
+ Object o0)
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+
+
+static void
+that (boolean test,
+ String errorMsg,
+ Object o0,
+ Object o1)
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+that
+public static void that(boolean test,
+ String errorMsg,
+ Object o0)
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+
+
+
+
+
+
+that
+public static void that(boolean test,
+ String errorMsg,
+ Object o0,
+ Object o1)
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/JScriptBox.NameSetter.html b/javadoc/snapshot/com/diffplug/jscriptbox/JScriptBox.NameSetter.html
new file mode 100644
index 0000000..e42ed7a
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/JScriptBox.NameSetter.html
@@ -0,0 +1,406 @@
+
+
+
+
+
+JScriptBox.NameSetter (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods
+
+Modifier and Type
+Method and Description
+
+
+<R> JScriptBox
+toFunc0 (ArityN.Func0 <R> value)
+
+
+<A,R> JScriptBox
+toFunc1 (ArityN.Func1 <A,R> value)
+
+
+<A,B,R> JScriptBox
+toFunc2 (ArityN.Func2 <A,B,R> value)
+
+
+<A,B,C,R> JScriptBox
+toFunc3 (ArityN.Func3 <A,B,C,R> value)
+
+
+<A,B,C,D,R>JScriptBox
+toFunc4 (ArityN.Func4 <A,B,C,D,R> value)
+
+
+JScriptBox
+toValue (Object value)
+
+
+JScriptBox
+toVoid0 (ArityN.Void0 value)
+
+
+<A> JScriptBox
+toVoid1 (ArityN.Void1 <A> value)
+
+
+<A,B> JScriptBox
+toVoid2 (ArityN.Void2 <A,B> value)
+
+
+<A,B,C> JScriptBox
+toVoid3 (ArityN.Void3 <A,B,C> value)
+
+
+<A,B,C,D> JScriptBox
+toVoid4 (ArityN.Void4 <A,B,C,D> value)
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/JScriptBox.html b/javadoc/snapshot/com/diffplug/jscriptbox/JScriptBox.html
new file mode 100644
index 0000000..c3718dd
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/JScriptBox.html
@@ -0,0 +1,372 @@
+
+
+
+
+
+JScriptBox (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes
+
+Modifier and Type
+Class and Description
+
+
+class
+JScriptBox.NameSetter
+Fluent API for setting names in this JsHarness.
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Modifier
+Constructor and Description
+
+
+protected
+JScriptBox ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+JScriptBox
+protected JScriptBox()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/Language.html b/javadoc/snapshot/com/diffplug/jscriptbox/Language.html
new file mode 100644
index 0000000..da012d1
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/Language.html
@@ -0,0 +1,231 @@
+
+
+
+
+
+Language (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/TypedScriptEngine.html b/javadoc/snapshot/com/diffplug/jscriptbox/TypedScriptEngine.html
new file mode 100644
index 0000000..1ea7f1d
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/TypedScriptEngine.html
@@ -0,0 +1,473 @@
+
+
+
+
+
+TypedScriptEngine (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/javascript/Nashorn.OnReservedKeyword.html b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/Nashorn.OnReservedKeyword.html
new file mode 100644
index 0000000..afaff91
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/Nashorn.OnReservedKeyword.html
@@ -0,0 +1,358 @@
+
+
+
+
+
+Nashorn.OnReservedKeyword (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+Enum Constants
+
+Enum Constant and Description
+
+
+ERROR
+
+
+MANGLE
+
+
+SKIP
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+valueOf
+public static Nashorn.OnReservedKeyword valueOf(String name)
+Returns the enum constant of this type with the specified name.
+The string must match exactly an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)
+
+Parameters:
+name - the name of the enum constant to be returned.
+Returns:
+the enum constant with the specified name
+Throws:
+IllegalArgumentException - if this enum type has no constant with the specified name
+NullPointerException - if the argument is null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/javascript/Nashorn.html b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/Nashorn.html
new file mode 100644
index 0000000..336ab46
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/Nashorn.html
@@ -0,0 +1,330 @@
+
+
+
+
+
+Nashorn (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes
+
+Modifier and Type
+Class and Description
+
+
+static class
+Nashorn.OnReservedKeyword
+Describes a policy for dealing with reserved keywords.
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Nashorn ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+Nashorn
+public Nashorn()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-frame.html b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-frame.html
new file mode 100644
index 0000000..ca44c23
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-frame.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+com.diffplug.jscriptbox.javascript (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+com.diffplug.jscriptbox.javascript
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-summary.html b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-summary.html
new file mode 100644
index 0000000..0584803
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-summary.html
@@ -0,0 +1,159 @@
+
+
+
+
+
+com.diffplug.jscriptbox.javascript (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+Nashorn
+
+
+
+
+
+
+
+Enum Summary
+
+Enum
+Description
+
+
+
+Nashorn.OnReservedKeyword
+
+Describes a policy for dealing with reserved keywords.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-tree.html b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-tree.html
new file mode 100644
index 0000000..acab2ff
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/javascript/package-tree.html
@@ -0,0 +1,149 @@
+
+
+
+
+
+com.diffplug.jscriptbox.javascript Class Hierarchy (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.diffplug.jscriptbox.javascript.Nashorn
+
+
+
+
Enum Hierarchy
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/package-frame.html b/javadoc/snapshot/com/diffplug/jscriptbox/package-frame.html
new file mode 100644
index 0000000..770dad6
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/package-frame.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+com.diffplug.jscriptbox (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+com.diffplug.jscriptbox
+
+
Interfaces
+
+
Classes
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/package-summary.html b/javadoc/snapshot/com/diffplug/jscriptbox/package-summary.html
new file mode 100644
index 0000000..9619a6c
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/package-summary.html
@@ -0,0 +1,221 @@
+
+
+
+
+
+com.diffplug.jscriptbox (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Interface Summary
+
+Interface
+Description
+
+
+
+ArityN.Func0 <R>
+
+
+
+ArityN.Func1 <A,R>
+
+
+
+ArityN.Func2 <A,B,R>
+
+
+
+ArityN.Func3 <A,B,C,R>
+
+
+
+ArityN.Func4 <A,B,C,D,R>
+
+
+
+ArityN.Void0
+
+
+
+ArityN.Void1 <A>
+
+
+
+ArityN.Void2 <A,B>
+
+
+
+ArityN.Void3 <A,B,C>
+
+
+
+ArityN.Void4 <A,B,C,D>
+
+
+
+Language
+
+
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+ArityN
+
+We'd like to pass lambdas to
JScriptBox through a fluent API,
+ which means that we need to describe the function signature
+ in the method name.
+
+
+
+Check
+
+Cheap (and performant) knock-off of Guava's Preconditions class.
+
+
+
+JScriptBox
+
+API for exposing objects and functions to a scripting environment.
+
+
+
+TypedScriptEngine
+
+Wraps up a ScriptEngine with a null-checking and type-checking API.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/com/diffplug/jscriptbox/package-tree.html b/javadoc/snapshot/com/diffplug/jscriptbox/package-tree.html
new file mode 100644
index 0000000..01882f2
--- /dev/null
+++ b/javadoc/snapshot/com/diffplug/jscriptbox/package-tree.html
@@ -0,0 +1,155 @@
+
+
+
+
+
+com.diffplug.jscriptbox Class Hierarchy (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+
Interface Hierarchy
+
+com.diffplug.jscriptbox.ArityN.Func0 <R>
+com.diffplug.jscriptbox.ArityN.Func1 <A,R>
+com.diffplug.jscriptbox.ArityN.Func2 <A,B,R>
+com.diffplug.jscriptbox.ArityN.Func3 <A,B,C,R>
+com.diffplug.jscriptbox.ArityN.Func4 <A,B,C,D,R>
+com.diffplug.jscriptbox.ArityN.Void0
+com.diffplug.jscriptbox.ArityN.Void1 <A>
+com.diffplug.jscriptbox.ArityN.Void2 <A,B>
+com.diffplug.jscriptbox.ArityN.Void3 <A,B,C>
+com.diffplug.jscriptbox.ArityN.Void4 <A,B,C,D>
+com.diffplug.jscriptbox.Language
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/constant-values.html b/javadoc/snapshot/constant-values.html
new file mode 100644
index 0000000..8c6ab64
--- /dev/null
+++ b/javadoc/snapshot/constant-values.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+Constant Field Values (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/deprecated-list.html b/javadoc/snapshot/deprecated-list.html
new file mode 100644
index 0000000..557b2d2
--- /dev/null
+++ b/javadoc/snapshot/deprecated-list.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+Deprecated List (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/help-doc.html b/javadoc/snapshot/help-doc.html
new file mode 100644
index 0000000..d8d3ba4
--- /dev/null
+++ b/javadoc/snapshot/help-doc.html
@@ -0,0 +1,225 @@
+
+
+
+
+
+API Help (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Overview
+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+
+
+Package
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+
+Interfaces (italic)
+Classes
+Enums
+Exceptions
+Errors
+Annotation Types
+
+
+
+Class/Interface
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+
+Class inheritance diagram
+Direct Subclasses
+All Known Subinterfaces
+All Known Implementing Classes
+Class/interface declaration
+Class/interface description
+
+
+Nested Class Summary
+Field Summary
+Constructor Summary
+Method Summary
+
+
+Field Detail
+Constructor Detail
+Method Detail
+
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+
+Annotation Type
+Each annotation type has its own separate page with the following sections:
+
+Annotation Type declaration
+Annotation Type description
+Required Element Summary
+Optional Element Summary
+Element Detail
+
+
+
+Enum
+Each enum has its own separate page with the following sections:
+
+Enum declaration
+Enum description
+Enum Constant Summary
+Enum Constant Detail
+
+
+
+Tree (Class Hierarchy)
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
+
+When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
+When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+
+
+Deprecated API
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+
+
+Index
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+
+
+Prev/Next
+These links take you to the next or previous class, interface, package, or related page.
+
+
+Frames/No Frames
+These links show and hide the HTML frames. All pages are available with or without frames.
+
+
+All Classes
+The All Classes link shows all classes and interfaces except non-static nested types.
+
+
+Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+
+
+Constant Field Values
+The Constant Field Values page lists the static final fields and their values.
+
+
+
This help file applies to API documentation generated using the standard doclet.
+
+
+
+
+
+
diff --git a/javadoc/snapshot/index-all.html b/javadoc/snapshot/index-all.html
new file mode 100644
index 0000000..c9fa249
--- /dev/null
+++ b/javadoc/snapshot/index-all.html
@@ -0,0 +1,400 @@
+
+
+
+
+
+Index (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+A B C E G I J L N P S T V
+
+
+
A
+
+apply() - Method in interface com.diffplug.jscriptbox.ArityN.Func0
+
+apply(A) - Method in interface com.diffplug.jscriptbox.ArityN.Func1
+
+apply(A, B) - Method in interface com.diffplug.jscriptbox.ArityN.Func2
+
+apply(A, B, C) - Method in interface com.diffplug.jscriptbox.ArityN.Func3
+
+apply(A, B, C, D) - Method in interface com.diffplug.jscriptbox.ArityN.Func4
+
+apply() - Method in interface com.diffplug.jscriptbox.ArityN.Void0
+
+apply(A) - Method in interface com.diffplug.jscriptbox.ArityN.Void1
+
+apply(A, B) - Method in interface com.diffplug.jscriptbox.ArityN.Void2
+
+apply(A, B, C) - Method in interface com.diffplug.jscriptbox.ArityN.Void3
+
+apply(A, B, C, D) - Method in interface com.diffplug.jscriptbox.ArityN.Void4
+
+ArityN - Class in com.diffplug.jscriptbox
+
+We'd like to pass lambdas to
JScriptBox through a fluent API,
+ which means that we need to describe the function signature
+ in the method name.
+
+ArityN.Func0 <R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func1 <A ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func2 <A ,B ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func3 <A ,B ,C ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Func4 <A ,B ,C ,D ,R > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void0 - Interface in com.diffplug.jscriptbox
+
+ArityN.Void1 <A > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void2 <A ,B > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void3 <A ,B ,C > - Interface in com.diffplug.jscriptbox
+
+ArityN.Void4 <A ,B ,C ,D > - Interface in com.diffplug.jscriptbox
+
+
+
+
+
+
B
+
+build(Language) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Returns a
ScriptEngine which has been populated with the values of this box.
+
+buildTyped(Language) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+
+
+
+
+
+
+
C
+
+cast(Object, Class<T>) - Static method in class com.diffplug.jscriptbox.Check
+
+castOpt(Object, Class<T>) - Static method in class com.diffplug.jscriptbox.Check
+
+Check - Class in com.diffplug.jscriptbox
+
+Cheap (and performant) knock-off of Guava's Preconditions class.
+
+com.diffplug.jscriptbox - package com.diffplug.jscriptbox
+
+com.diffplug.jscriptbox.javascript - package com.diffplug.jscriptbox.javascript
+
+create() - Static method in class com.diffplug.jscriptbox.JScriptBox
+
+Creates a new JScriptBox and returns it.
+
+
+
+
+
+
E
+
+eval(String) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+No return value.
+
+eval(Reader) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+No return value.
+
+eval(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+eval(Reader, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+evalOpt(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+evalOpt(Reader, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+
+
+
+
+
G
+
+get(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Nulls and wrong class are errors.
+
+getOpt(String, Class<T>) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Wrong class is an error.
+
+getRaw() - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+The underlying ScriptEngine.
+
+
+
+
+
+
I
+
+initializeEngine(Map<String, Object>) - Method in interface com.diffplug.jscriptbox.Language
+
+isReserved(String) - Static method in class com.diffplug.jscriptbox.javascript.Nashorn
+
+Returns true if the given identifier is a JavaScript reserved keyword.
+
+isValidIdentifier(String) - Static method in class com.diffplug.jscriptbox.JScriptBox
+
+Returns true if the given name is a valid Java identifier.
+
+
+
+
+
+
J
+
+JScriptBox - Class in com.diffplug.jscriptbox
+
+API for exposing objects and functions to a scripting environment.
+
+JScriptBox() - Constructor for class com.diffplug.jscriptbox.JScriptBox
+
+JScriptBox.NameSetter - Class in com.diffplug.jscriptbox
+
+Fluent API for setting names in this JsHarness.
+
+
+
+
+
+
L
+
+language() - Static method in class com.diffplug.jscriptbox.javascript.Nashorn
+
+Language implementation for javascript using the nashorn engine.
+
+language(Nashorn.OnReservedKeyword) - Static method in class com.diffplug.jscriptbox.javascript.Nashorn
+
+Language implementation for javascript using the given policy for resolving any potential conflicts with reserved keywords.
+
+Language - Interface in com.diffplug.jscriptbox
+
+
+
+
+
+
+
+
N
+
+NameSetter(String) - Constructor for class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+Nashorn - Class in com.diffplug.jscriptbox.javascript
+
+Nashorn() - Constructor for class com.diffplug.jscriptbox.javascript.Nashorn
+
+Nashorn.OnReservedKeyword - Enum in com.diffplug.jscriptbox.javascript
+
+Describes a policy for dealing with reserved keywords.
+
+
+
+
+
+
P
+
+put(String, Object) - Method in class com.diffplug.jscriptbox.TypedScriptEngine
+
+Puts the given value into the script engine.
+
+
+
+
+
+
S
+
+set(String) - Method in class com.diffplug.jscriptbox.JScriptBox
+
+Sets a name in the script environment to be a value or a function.
+
+
+
+
+
+
T
+
+that(boolean, String, Object) - Static method in class com.diffplug.jscriptbox.Check
+
+If test is false, throws an exception with a message where %0 is replaced with Objects.toString(o0).
+
+that(boolean, String, Object, Object) - Static method in class com.diffplug.jscriptbox.Check
+
+If test is false, throws an exception with a message where %0, %1 is replaced with Objects.toString(o0), Objects.toString(o1).
+
+toFunc0(ArityN.Func0<R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc1(ArityN.Func1<A, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc2(ArityN.Func2<A, B, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc3(ArityN.Func3<A, B, C, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toFunc4(ArityN.Func4<A, B, C, D, R>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toValue(Object) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid0(ArityN.Void0) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid1(ArityN.Void1<A>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid2(ArityN.Void2<A, B>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid3(ArityN.Void3<A, B, C>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+toVoid4(ArityN.Void4<A, B, C, D>) - Method in class com.diffplug.jscriptbox.JScriptBox.NameSetter
+
+TypedScriptEngine - Class in com.diffplug.jscriptbox
+
+Wraps up a ScriptEngine with a null-checking and type-checking API.
+
+TypedScriptEngine(ScriptEngine) - Constructor for class com.diffplug.jscriptbox.TypedScriptEngine
+
+
+
+
+
+
V
+
+valueOf(String) - Static method in enum com.diffplug.jscriptbox.javascript.Nashorn.OnReservedKeyword
+
+Returns the enum constant of this type with the specified name.
+
+values() - Static method in enum com.diffplug.jscriptbox.javascript.Nashorn.OnReservedKeyword
+
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+
+
A B C E G I J L N P S T V
+
+
+
+
+
+
diff --git a/javadoc/snapshot/index.html b/javadoc/snapshot/index.html
new file mode 100644
index 0000000..c3545a6
--- /dev/null
+++ b/javadoc/snapshot/index.html
@@ -0,0 +1,74 @@
+
+
+
+
+
+jscriptbox 3.1.0-SNAPSHOT API
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+Frame Alert
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version .
+
+
+
diff --git a/javadoc/snapshot/overview-frame.html b/javadoc/snapshot/overview-frame.html
new file mode 100644
index 0000000..e2c5c52
--- /dev/null
+++ b/javadoc/snapshot/overview-frame.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+Overview List (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+com.diffplug.jscriptbox:jscriptbox:3.1.0-SNAPSHOT by DiffPlug
+
+
+
+
+
diff --git a/javadoc/snapshot/overview-summary.html b/javadoc/snapshot/overview-summary.html
new file mode 100644
index 0000000..d7cf823
--- /dev/null
+++ b/javadoc/snapshot/overview-summary.html
@@ -0,0 +1,142 @@
+
+
+
+
+
+Overview (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/overview-tree.html b/javadoc/snapshot/overview-tree.html
new file mode 100644
index 0000000..7546587
--- /dev/null
+++ b/javadoc/snapshot/overview-tree.html
@@ -0,0 +1,169 @@
+
+
+
+
+
+Class Hierarchy (jscriptbox 3.1.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+
Interface Hierarchy
+
+com.diffplug.jscriptbox.ArityN.Func0 <R>
+com.diffplug.jscriptbox.ArityN.Func1 <A,R>
+com.diffplug.jscriptbox.ArityN.Func2 <A,B,R>
+com.diffplug.jscriptbox.ArityN.Func3 <A,B,C,R>
+com.diffplug.jscriptbox.ArityN.Func4 <A,B,C,D,R>
+com.diffplug.jscriptbox.ArityN.Void0
+com.diffplug.jscriptbox.ArityN.Void1 <A>
+com.diffplug.jscriptbox.ArityN.Void2 <A,B>
+com.diffplug.jscriptbox.ArityN.Void3 <A,B,C>
+com.diffplug.jscriptbox.ArityN.Void4 <A,B,C,D>
+com.diffplug.jscriptbox.Language
+
+
Enum Hierarchy
+
+
+
+
+
+
+
+
diff --git a/javadoc/snapshot/package-list b/javadoc/snapshot/package-list
new file mode 100644
index 0000000..bd29626
--- /dev/null
+++ b/javadoc/snapshot/package-list
@@ -0,0 +1,2 @@
+com.diffplug.jscriptbox
+com.diffplug.jscriptbox.javascript
diff --git a/javadoc/snapshot/script.js b/javadoc/snapshot/script.js
new file mode 100644
index 0000000..b346356
--- /dev/null
+++ b/javadoc/snapshot/script.js
@@ -0,0 +1,30 @@
+function show(type)
+{
+ count = 0;
+ for (var key in methods) {
+ var row = document.getElementById(key);
+ if ((methods[key] & type) != 0) {
+ row.style.display = '';
+ row.className = (count++ % 2) ? rowColor : altColor;
+ }
+ else
+ row.style.display = 'none';
+ }
+ updateTabs(type);
+}
+
+function updateTabs(type)
+{
+ for (var value in tabs) {
+ var sNode = document.getElementById(tabs[value][0]);
+ var spanNode = sNode.firstChild;
+ if (value == type) {
+ sNode.className = activeTableTab;
+ spanNode.innerHTML = tabs[value][1];
+ }
+ else {
+ sNode.className = tableTab;
+ spanNode.innerHTML = "" + tabs[value][1] + " ";
+ }
+ }
+}
diff --git a/javadoc/snapshot/stylesheet.css b/javadoc/snapshot/stylesheet.css
new file mode 100644
index 0000000..cebb4fd
--- /dev/null
+++ b/javadoc/snapshot/stylesheet.css
@@ -0,0 +1,574 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+
+@import url('resources/fonts/dejavu.css');
+
+body {
+ background-color:#ffffff;
+ color:#353833;
+ font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
+ font-size:14px;
+ margin:0;
+}
+a:link, a:visited {
+ text-decoration:none;
+ color:#4A6782;
+}
+a:hover, a:focus {
+ text-decoration:none;
+ color:#bb7a2a;
+}
+a:active {
+ text-decoration:none;
+ color:#4A6782;
+}
+a[name] {
+ color:#353833;
+}
+a[name]:hover {
+ text-decoration:none;
+ color:#353833;
+}
+pre {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+}
+h1 {
+ font-size:20px;
+}
+h2 {
+ font-size:18px;
+}
+h3 {
+ font-size:16px;
+ font-style:italic;
+}
+h4 {
+ font-size:13px;
+}
+h5 {
+ font-size:12px;
+}
+h6 {
+ font-size:11px;
+}
+ul {
+ list-style-type:disc;
+}
+code, tt {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+ margin-top:8px;
+ line-height:1.4em;
+}
+dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+}
+table tr td dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ vertical-align:top;
+ padding-top:4px;
+}
+sup {
+ font-size:8px;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+ clear:both;
+ height:0px;
+ overflow:hidden;
+}
+.aboutLanguage {
+ float:right;
+ padding:0px 21px;
+ font-size:11px;
+ z-index:200;
+ margin-top:-9px;
+}
+.legalCopy {
+ margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+ color:#FFFFFF;
+ text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+ color:#bb7a2a;
+}
+.tab {
+ background-color:#0066FF;
+ color:#ffffff;
+ padding:8px;
+ width:5em;
+ font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ padding:.8em .5em .4em .8em;
+ height:auto;/*height:1.8em;*/
+ font-size:11px;
+ margin:0;
+}
+.topNav {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.bottomNav {
+ margin-top:10px;
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav {
+ background-color:#dee3e9;
+ float:left;
+ width:100%;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav div {
+ clear:left;
+ float:left;
+ padding:0 0 5px 6px;
+ text-transform:uppercase;
+}
+ul.navList, ul.subNavList {
+ float:left;
+ margin:0 25px 0 0;
+ padding:0;
+}
+ul.navList li{
+ list-style:none;
+ float:left;
+ padding: 5px 6px;
+ text-transform:uppercase;
+}
+ul.subNavList li{
+ list-style:none;
+ float:left;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
+ color:#FFFFFF;
+ text-decoration:none;
+ text-transform:uppercase;
+}
+.topNav a:hover, .bottomNav a:hover {
+ text-decoration:none;
+ color:#bb7a2a;
+ text-transform:uppercase;
+}
+.navBarCell1Rev {
+ background-color:#F8981D;
+ color:#253441;
+ margin: auto 5px;
+}
+.skipNav {
+ position:absolute;
+ top:auto;
+ left:-9999px;
+ overflow:hidden;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+ clear:both;
+ margin:0 20px;
+ padding:5px 0 0 0;
+}
+.indexHeader {
+ margin:10px;
+ position:relative;
+}
+.indexHeader span{
+ margin-right:15px;
+}
+.indexHeader h1 {
+ font-size:13px;
+}
+.title {
+ color:#2c4557;
+ margin:10px 0;
+}
+.subTitle {
+ margin:5px 0 0 0;
+}
+.header ul {
+ margin:0 0 15px 0;
+ padding:0;
+}
+.footer ul {
+ margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+ list-style:none;
+ font-size:13px;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+ padding:0;
+ margin:15px 0;
+}
+ul.blockList li.blockList h2 {
+ padding:0px 0 20px 0;
+}
+/*
+Page layout container styles
+*/
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
+ clear:both;
+ padding:10px 20px;
+ position:relative;
+}
+.indexContainer {
+ margin:10px;
+ position:relative;
+ font-size:12px;
+}
+.indexContainer h2 {
+ font-size:13px;
+ padding:0 0 3px 0;
+}
+.indexContainer ul {
+ margin:0;
+ padding:0;
+}
+.indexContainer ul li {
+ list-style:none;
+ padding-top:2px;
+}
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
+ font-size:12px;
+ font-weight:bold;
+ margin:10px 0 0 0;
+ color:#4E4E4E;
+}
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
+ margin:5px 0 10px 0px;
+ font-size:14px;
+ font-family:'DejaVu Sans Mono',monospace;
+}
+.serializedFormContainer dl.nameValue dt {
+ margin-left:1px;
+ font-size:1.1em;
+ display:inline;
+ font-weight:bold;
+}
+.serializedFormContainer dl.nameValue dd {
+ margin:0 0 0 1px;
+ font-size:1.1em;
+ display:inline;
+}
+/*
+List styles
+*/
+ul.horizontal li {
+ display:inline;
+ font-size:0.9em;
+}
+ul.inheritance {
+ margin:0;
+ padding:0;
+}
+ul.inheritance li {
+ display:inline;
+ list-style:none;
+}
+ul.inheritance li ul.inheritance {
+ margin-left:15px;
+ padding-left:15px;
+ padding-top:1px;
+}
+ul.blockList, ul.blockListLast {
+ margin:10px 0 10px 0;
+ padding:0;
+}
+ul.blockList li.blockList, ul.blockListLast li.blockList {
+ list-style:none;
+ margin-bottom:15px;
+ line-height:1.4;
+}
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
+ padding:0px 20px 5px 10px;
+ border:1px solid #ededed;
+ background-color:#f8f8f8;
+}
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
+ padding:0 0 5px 8px;
+ background-color:#ffffff;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
+ margin-left:0;
+ padding-left:0;
+ padding-bottom:15px;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
+ list-style:none;
+ border-bottom:none;
+ padding-bottom:0;
+}
+table tr td dl, table tr td dl dt, table tr td dl dd {
+ margin-top:0;
+ margin-bottom:1px;
+}
+/*
+Table styles
+*/
+.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
+ width:100%;
+ border-left:1px solid #EEE;
+ border-right:1px solid #EEE;
+ border-bottom:1px solid #EEE;
+}
+.overviewSummary, .memberSummary {
+ padding:0px;
+}
+.overviewSummary caption, .memberSummary caption, .typeSummary caption,
+.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
+ position:relative;
+ text-align:left;
+ background-repeat:no-repeat;
+ color:#253441;
+ font-weight:bold;
+ clear:none;
+ overflow:hidden;
+ padding:0px;
+ padding-top:10px;
+ padding-left:1px;
+ margin:0px;
+ white-space:pre;
+}
+.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
+.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
+.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
+.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
+.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
+.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
+.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
+.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
+ color:#FFFFFF;
+}
+.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
+.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ padding-bottom:7px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ border: none;
+ height:16px;
+}
+.memberSummary caption span.activeTableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ height:16px;
+}
+.memberSummary caption span.tableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#4D7A97;
+ height:16px;
+}
+.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
+ padding-top:0px;
+ padding-left:0px;
+ padding-right:0px;
+ background-image:none;
+ float:none;
+ display:inline;
+}
+.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
+.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
+ display:none;
+ width:5px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .activeTableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .tableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ background-color:#4D7A97;
+ float:left;
+
+}
+.overviewSummary td, .memberSummary td, .typeSummary td,
+.useSummary td, .constantsSummary td, .deprecatedSummary td {
+ text-align:left;
+ padding:0px 0px 12px 10px;
+ width:100%;
+}
+th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
+td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
+ vertical-align:top;
+ padding-right:0px;
+ padding-top:8px;
+ padding-bottom:3px;
+}
+th.colFirst, th.colLast, th.colOne, .constantsSummary th {
+ background:#dee3e9;
+ text-align:left;
+ padding:8px 3px 3px 7px;
+}
+td.colFirst, th.colFirst {
+ white-space:nowrap;
+ font-size:13px;
+}
+td.colLast, th.colLast {
+ font-size:13px;
+}
+td.colOne, th.colOne {
+ font-size:13px;
+}
+.overviewSummary td.colFirst, .overviewSummary th.colFirst,
+.overviewSummary td.colOne, .overviewSummary th.colOne,
+.memberSummary td.colFirst, .memberSummary th.colFirst,
+.memberSummary td.colOne, .memberSummary th.colOne,
+.typeSummary td.colFirst{
+ width:25%;
+ vertical-align:top;
+}
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
+ font-weight:bold;
+}
+.tableSubHeadingColor {
+ background-color:#EEEEFF;
+}
+.altColor {
+ background-color:#FFFFFF;
+}
+.rowColor {
+ background-color:#EEEEEF;
+}
+/*
+Content styles
+*/
+.description pre {
+ margin-top:0;
+}
+.deprecatedContent {
+ margin:0;
+ padding:10px 0;
+}
+.docSummary {
+ padding:0;
+}
+
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ font-style:normal;
+}
+
+div.block {
+ font-size:14px;
+ font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
+}
+
+td.colLast div {
+ padding-top:0px;
+}
+
+
+td.colLast a {
+ padding-bottom:3px;
+}
+/*
+Formatting effect styles
+*/
+.sourceLineNo {
+ color:green;
+ padding:0 30px 0 0;
+}
+h1.hidden {
+ visibility:hidden;
+ overflow:hidden;
+ font-size:10px;
+}
+.block {
+ display:block;
+ margin:3px 10px 2px 0px;
+ color:#474747;
+}
+.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
+.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
+.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
+ font-weight:bold;
+}
+.deprecationComment, .emphasizedPhrase, .interfaceName {
+ font-style:italic;
+}
+
+div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
+div.block div.block span.interfaceName {
+ font-style:normal;
+}
+
+div.contentContainer ul.blockList li.blockList h2{
+ padding-bottom:0px;
+}
diff --git a/jscriptbox.png b/jscriptbox.png
deleted file mode 100644
index 1105328..0000000
Binary files a/jscriptbox.png and /dev/null differ
diff --git a/jscriptbox.svg b/jscriptbox.svg
deleted file mode 100644
index 24dd5dc..0000000
--- a/jscriptbox.svg
+++ /dev/null
@@ -1,1111 +0,0 @@
-
-image/svg+xml
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
deleted file mode 100644
index 2aa7fd6..0000000
--- a/settings.gradle
+++ /dev/null
@@ -1,30 +0,0 @@
-pluginManagement {
- repositories {
- mavenCentral()
- gradlePluginPortal()
- }
-}
-plugins {
- // https://github.com/diffplug/blowdryer/blob/main/CHANGELOG.md
- id 'com.diffplug.blowdryerSetup' version '1.7.1'
- // https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md
- id 'com.diffplug.spotless' version '7.0.3' apply false
- // https://github.com/diffplug/spotless-changelog/blob/main/CHANGELOG.md
- id 'com.diffplug.spotless-changelog' version '3.1.2' apply false
- // https://plugins.gradle.org/plugin/com.gradle.plugin-publish
- id 'com.gradle.plugin-publish' version '1.3.1' apply false
- // https://github.com/equodev/equo-ide/blob/main/plugin-gradle/CHANGELOG.md
- id 'dev.equo.ide' version '1.7.8' apply false
- // https://github.com/gradle-nexus/publish-plugin/releases
- id 'io.github.gradle-nexus.publish-plugin' version '2.0.0' apply false
-}
-
-blowdryerSetup {
- github 'diffplug/blowdryer-diffplug', 'tag', '9.0.0'
- //devLocal '../blowdryer-diffplug'
- setPluginsBlockTo {
- it.file 'plugin.versions'
- }
-}
-
-rootProject.name = 'jscriptbox'
diff --git a/src/main/java/com/diffplug/jscriptbox/ArityN.java b/src/main/java/com/diffplug/jscriptbox/ArityN.java
deleted file mode 100644
index 38e2aa1..0000000
--- a/src/main/java/com/diffplug/jscriptbox/ArityN.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright 2015 DiffPlug
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.diffplug.jscriptbox;
-
-/**
- * We'd like to pass lambdas to {@link JScriptBox} through a fluent API,
- * which means that we need to describe the function signature
- * in the method name.
- *
- * In order to make this concise, here are functional interfaces
- * with consistent naming conventions, for arity 0 to 4, with and
- * without return values.
- */
-public final class ArityN {
- private ArityN() {}
-
- // @formatter:off
- @FunctionalInterface public interface Void0 { void apply() throws Throwable; }
- @FunctionalInterface public interface Void1 { void apply(A a) throws Throwable; }
- @FunctionalInterface public interface Void2 { void apply(A a, B b) throws Throwable; }
- @FunctionalInterface public interface Void3 { void apply(A a, B b, C c) throws Throwable; }
- @FunctionalInterface public interface Void4 { void apply(A a, B b, C c, D d) throws Throwable; }
- @FunctionalInterface public interface Func0 { R apply() throws Throwable; }
- @FunctionalInterface public interface Func1 { R apply(A a) throws Throwable; }
- @FunctionalInterface public interface Func2 { R apply(A a, B b) throws Throwable; }
- @FunctionalInterface public interface Func3 { R apply(A a, B b, C c) throws Throwable; }
- @FunctionalInterface public interface Func4 {R apply(A a, B b, C c, D d) throws Throwable; }
- // @formatter:on
-}
diff --git a/src/main/java/com/diffplug/jscriptbox/Check.java b/src/main/java/com/diffplug/jscriptbox/Check.java
deleted file mode 100644
index de9e8c5..0000000
--- a/src/main/java/com/diffplug/jscriptbox/Check.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright 2015 DiffPlug
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.diffplug.jscriptbox;
-
-import java.util.Objects;
-import java.util.Optional;
-
-/** Cheap (and performant) knock-off of Guava's Preconditions class. */
-public final class Check {
- private Check() {}
-
- /** If test is false, throws an exception with a message where {@code %0} is replaced with {@code Objects.toString(o0)}. */
- public static void that(boolean test, String errorMsg, Object o0) {
- if (!test) {
- errorMsg = errorMsg.replace("%0", Objects.toString(o0));
- throw new IllegalArgumentException(errorMsg);
- }
- }
-
- /** If test is false, throws an exception with a message where {@code %0}, {@code %1} is replaced with {@code Objects.toString(o0)}, {@code Objects.toString(o1)}. */
- public static void that(boolean test, String errorMsg, Object o0, Object o1) {
- if (!test) {
- errorMsg = errorMsg
- .replace("%0", Objects.toString(o0))
- .replace("%1", Objects.toString(o1));
- throw new IllegalArgumentException(errorMsg);
- }
- }
-
- @SuppressWarnings("unchecked")
- public static T cast(Object o, Class clazz) {
- if (o == null) {
- throw new IllegalArgumentException("Expected object of type '" + clazz + "', was 'null'");
- } else {
- Check.that(clazz.isAssignableFrom(o.getClass()), "Expected object of type '%0', was '%1'", clazz, o.getClass());
- return (T) o;
- }
- }
-
- @SuppressWarnings("unchecked")
- public static Optional castOpt(Object o, Class clazz) {
- if (o == null) {
- return Optional.empty();
- } else {
- Check.that(clazz.isAssignableFrom(o.getClass()), "Expected object of type '%0', was '%1'", clazz, o.getClass());
- return Optional.of((T) o);
- }
- }
-}
diff --git a/src/main/java/com/diffplug/jscriptbox/JScriptBox.java b/src/main/java/com/diffplug/jscriptbox/JScriptBox.java
deleted file mode 100644
index a3529ed..0000000
--- a/src/main/java/com/diffplug/jscriptbox/JScriptBox.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Copyright 2015 DiffPlug
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.diffplug.jscriptbox;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.script.ScriptEngine;
-import javax.script.ScriptException;
-
-import com.diffplug.jscriptbox.ArityN.*;
-
-/** API for exposing objects and functions to a scripting environment. */
-public class JScriptBox {
- private Map names = new HashMap<>();
-
- protected JScriptBox() {}
-
- /** Creates a new JScriptBox and returns it. */
- public static JScriptBox create() {
- return new JScriptBox();
- }
-
- /** Sets a name in the script environment to be a value or a function. */
- public NameSetter set(String name) {
- return new NameSetter(name);
- }
-
- /**
- * Checks that the given name is a valid Java identifier. It's still possible that
- * the name is a restricted keyword in the scripting language that you are creating a
- * binding for, but there's no way to know at this point.
- */
- static String checkValidIdentifier(String name) {
- Check.that(isValidIdentifier(name), "'%0' is not a valid identifier", name);
- return name;
- }
-
- /** Returns true if the given name is a valid Java identifier. */
- public static boolean isValidIdentifier(String name) {
- return name.length() > 0 &&
- Character.isJavaIdentifierStart(name.codePointAt(0)) &&
- name.codePoints().skip(1).allMatch(Character::isJavaIdentifierPart);
- }
-
- /** Fluent API for setting names in this JsHarness. */
- public class NameSetter {
- private final String name;
-
- public NameSetter(String name) {
- this.name = checkValidIdentifier(name);
- }
-
- public JScriptBox toValue(Object value) {
- names.put(name, value);
- return JScriptBox.this;
- }
-
- // @formatter:off
- public JScriptBox toVoid0(Void0 value) { return toValue(value); }
- public JScriptBox toVoid1(Void1 value) { return toValue(value); }
- public JScriptBox toVoid2(Void2 value) { return toValue(value); }
- public JScriptBox toVoid3(Void3 value) { return toValue(value); }
- public JScriptBox toVoid4(Void4 value) { return toValue(value); }
-
- public JScriptBox toFunc0(Func0 value) { return toValue(value); }
- public JScriptBox toFunc1(Func1 value) { return toValue(value); }
- public JScriptBox toFunc2(Func2 value) { return toValue(value); }
- public JScriptBox toFunc3(Func3 value) { return toValue(value); }
- public JScriptBox toFunc4(Func4 value) { return toValue(value); }
- // @formatter:on
- }
-
- /** Returns a {@link ScriptEngine} which has been populated with the values of this box. */
- public ScriptEngine build(Language language) throws ScriptException {
- return language.initializeEngine(names);
- }
-
- /** Returns a {@link TypedScriptEngine} which has been populated with the values of this box. */
- public TypedScriptEngine buildTyped(Language language) throws ScriptException {
- return new TypedScriptEngine(build(language));
- }
-}
diff --git a/src/main/java/com/diffplug/jscriptbox/Language.java b/src/main/java/com/diffplug/jscriptbox/Language.java
deleted file mode 100644
index b0c3fe7..0000000
--- a/src/main/java/com/diffplug/jscriptbox/Language.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright 2015 DiffPlug
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.diffplug.jscriptbox;
-
-import java.util.Map;
-
-import javax.script.ScriptEngine;
-import javax.script.ScriptException;
-
-/** Interface which converts the result of a {@link JScriptBox} into a {@link ScriptEngine}. */
-public interface Language {
- /**
- * @param names a map from names which should be defined in the script to their objects, particularly elements of {@link ArityN}.
- * @return a ScriptEngine which has had these names mapped to objects and functions.
- * @throws ScriptException
- */
- ScriptEngine initializeEngine(Map names) throws ScriptException;
-}
diff --git a/src/main/java/com/diffplug/jscriptbox/TypedScriptEngine.java b/src/main/java/com/diffplug/jscriptbox/TypedScriptEngine.java
deleted file mode 100644
index 36e9a50..0000000
--- a/src/main/java/com/diffplug/jscriptbox/TypedScriptEngine.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright 2015 DiffPlug
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.diffplug.jscriptbox;
-
-import java.io.Reader;
-import java.util.Optional;
-
-import javax.script.ScriptEngine;
-import javax.script.ScriptException;
-
-/** Wraps up a ScriptEngine with a null-checking and type-checking API. */
-public class TypedScriptEngine {
- private final ScriptEngine scriptEngine;
-
- public TypedScriptEngine(ScriptEngine scriptEngine) {
- this.scriptEngine = scriptEngine;
- }
-
- /** No return value. */
- public void eval(String script) throws ScriptException {
- scriptEngine.eval(script);
- }
-
- /** No return value. */
- public void eval(Reader reader) throws ScriptException {
- scriptEngine.eval(reader);
- }
-
- /** Nulls and wrong class are errors. */
- public T eval(String script, Class clazz) throws ScriptException {
- return Check.cast(scriptEngine.eval(script), clazz);
- }
-
- /** Nulls and wrong class are errors. */
- public T eval(Reader reader, Class clazz) throws ScriptException {
- return Check.cast(scriptEngine.eval(reader), clazz);
- }
-
- /** Nulls and wrong class are errors. */
- public T get(String name, Class clazz) throws ScriptException {
- return Check.cast(scriptEngine.get(name), clazz);
- }
-
- /** Wrong class is an error. */
- public Optional evalOpt(String script, Class clazz) throws ScriptException {
- return Check.castOpt(scriptEngine.eval(script), clazz);
- }
-
- /** Wrong class is an error. */
- public Optional evalOpt(Reader reader, Class clazz) throws ScriptException {
- return Check.castOpt(scriptEngine.eval(reader), clazz);
- }
-
- /** Wrong class is an error. */
- public Optional getOpt(String name, Class clazz) throws ScriptException {
- return Check.castOpt(scriptEngine.get(name), clazz);
- }
-
- /** Puts the given value into the script engine. */
- public void put(String name, Object value) {
- scriptEngine.put(name, value);
- }
-
- /** The underlying ScriptEngine. */
- public ScriptEngine getRaw() {
- return scriptEngine;
- }
-}
diff --git a/src/main/java/com/diffplug/jscriptbox/javascript/Nashorn.java b/src/main/java/com/diffplug/jscriptbox/javascript/Nashorn.java
deleted file mode 100644
index 0bb0329..0000000
--- a/src/main/java/com/diffplug/jscriptbox/javascript/Nashorn.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Copyright (C) 2015-2023 DiffPlug
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.diffplug.jscriptbox.javascript;
-
-import com.diffplug.jscriptbox.Language;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Set;
-import javax.script.ScriptContext;
-import javax.script.ScriptEngine;
-import javax.script.ScriptEngineManager;
-
-public class Nashorn {
- /**
- * Language implementation for javascript using the nashorn engine.
- *
- * If any bindings are created which conflict with reserved
- * keywords, an IllegalArgumentException will be thrown.
- */
- public static Language language() {
- return language(OnReservedKeyword.ERROR);
- }
-
- /** Language implementation for javascript using the given policy for resolving any potential conflicts with reserved keywords. */
- public static Language language(OnReservedKeyword policy) {
- return map -> {
- ScriptEngine jsEngine = new ScriptEngineManager(Nashorn.class.getClassLoader()).getEngineByName("nashorn");
- ScriptContext context = jsEngine.getContext();
-
- String mapName = "nashornScriptBoxMap";
- context.setAttribute(mapName, map, ScriptContext.ENGINE_SCOPE);
-
- StringBuilder builder = new StringBuilder();
- for (String key : map.keySet()) {
- if (isReserved(key)) {
- switch (policy) {
- case ERROR:
- throw new IllegalArgumentException("'" + key + "' is a reserved keyword.");
- case MANGLE:
- key = key + "_";
- break;
- case SKIP:
- continue;
- default:
- throw new IllegalArgumentException("Unhandled enum value '" + policy + "'");
- }
- }
- builder.append("var ");
- builder.append(key);
- builder.append("=");
- builder.append(mapName);
- builder.append(".get('");
- builder.append(key);
- builder.append("');\n");
- }
- builder.append("delete " + mapName + ";\n");
- jsEngine.eval(builder.toString());
- return jsEngine;
- };
- }
-
- /** Describes a policy for dealing with reserved keywords. */
- public enum OnReservedKeyword {
- ERROR, MANGLE, SKIP;
- }
-
- /** Returns true if the given identifier is a JavaScript reserved keyword. */
- public static boolean isReserved(String word) {
- return reservedKeywords.contains(word);
- }
-
- private static final Set reservedKeywords = new HashSet<>(Arrays.asList(
- // JavaScript Reserved Words
- "abstract", "arguments", "boolean", "break", "byte",
- "case", "catch", "char", "class", "const",
- "continue", "debugger", "default", "delete", "do",
- "double", "else", "enum", "eval", "export",
- "extends", "false", "final", "finally", "float",
- "for", "function", "goto", "if", "implements",
- "import", "in", "instanceof", "int", "interface",
- "let", "long", "native", "new", "null",
- "package", "private", "protected", "public", "return",
- "short", "static", "super", "switch", "synchronized",
- "this", "throw", "throws", "transient", "true",
- "try", "typeof", "var", "void", "volatile",
- "while", "with", "yield",
- // JavaScript Objects, Properties, and Methods
- "Array", "Date", "eval", "function", "hasOwnProperty",
- "Infinity", "isFinite", "isNaN", "isPrototypeOf", "length",
- "Math", "NaN", "name", "Number", "Object",
- "prototype", "String", "toString", "undefined", "valueOf",
- // Java Reserved Words
- "getClass", "java", "JavaArray", "javaClass", "JavaObject", "JavaPackage"));
-}
diff --git a/src/test/java/com/diffplug/scriptbox/javascript/JScriptBoxNashornTest.java b/src/test/java/com/diffplug/scriptbox/javascript/JScriptBoxNashornTest.java
deleted file mode 100644
index 879091b..0000000
--- a/src/test/java/com/diffplug/scriptbox/javascript/JScriptBoxNashornTest.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * Copyright 2015 DiffPlug
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.diffplug.scriptbox.javascript;
-
-import java.util.concurrent.atomic.AtomicBoolean;
-import java.util.concurrent.atomic.AtomicReference;
-
-import javax.script.ScriptEngine;
-import javax.script.ScriptException;
-
-import org.junit.Assert;
-import org.junit.Test;
-
-import com.diffplug.jscriptbox.JScriptBox;
-import com.diffplug.jscriptbox.TypedScriptEngine;
-import com.diffplug.jscriptbox.javascript.Nashorn;
-
-public class JScriptBoxNashornTest {
- private int square(int x) {
- return x * x;
- }
-
- @Test
- public void example() throws ScriptException {
- TypedScriptEngine engine = JScriptBox.create()
- .set("square").toFunc1(this::square)
- .set("x").toValue(9)
- .buildTyped(Nashorn.language());
- int squareOfX = engine.eval("square(x)", Integer.class);
- Assert.assertEquals(81, squareOfX);
- }
-
- @Test
- public void testBasicExpressions() throws ScriptException {
- ScriptEngine engine = JScriptBox.create().build(Nashorn.language());
- Assert.assertEquals("abc", engine.eval("'abc'"));
- Assert.assertEquals(123, engine.eval("123"));
- Assert.assertEquals(123.5, engine.eval("123.5"));
- }
-
- @Test
- public void testBasicScript() throws ScriptException {
- ScriptEngine engine = JScriptBox.create().build(Nashorn.language());
- engine.eval("var txt = 'abc';" +
- "var int = 123;" +
- "var float = 123.5;");
- Assert.assertEquals("abc", engine.eval("txt"));
- Assert.assertEquals(123, engine.eval("int"));
- Assert.assertEquals(123.5, engine.eval("float"));
- }
-
- //////////////////////////////
- // Exhaustive test of VoidN //
- //////////////////////////////
- @Test
- public void testVoid0() throws ScriptException {
- AtomicBoolean wasRun = new AtomicBoolean(false);
- ScriptEngine engine = JScriptBox.create()
- .set("void0").toVoid0(() -> wasRun.set(true))
- .build(Nashorn.language());
- engine.eval("void0()");
- Assert.assertEquals(true, wasRun.get());
- }
-
- @Test
- public void testVoid1() throws ScriptException {
- AtomicReference arg1 = new AtomicReference<>();
- ScriptEngine engine = JScriptBox.create()
- .set("void1").toVoid1(arg1::set)
- .build(Nashorn.language());
- engine.eval("void1('it lives!')");
- Assert.assertEquals("it lives!", arg1.get());
- }
-
- @Test
- public void testVoid2() throws ScriptException {
- AtomicReference arg1 = new AtomicReference<>();
- AtomicReference arg2 = new AtomicReference<>();
- ScriptEngine engine = JScriptBox.create()
- .set("void2").toVoid2((a, b) -> {
- arg1.set(a);
- arg2.set(b);
- })
- .build(Nashorn.language());
- engine.eval("void2('a', 'b')");
- Assert.assertEquals("a", arg1.get());
- Assert.assertEquals("b", arg2.get());
- }
-
- @Test
- public void testVoid3() throws ScriptException {
- AtomicReference arg1 = new AtomicReference<>();
- AtomicReference arg2 = new AtomicReference<>();
- AtomicReference arg3 = new AtomicReference<>();
- ScriptEngine engine = JScriptBox.create()
- .set("void3").toVoid3((a, b, c) -> {
- arg1.set(a);
- arg2.set(b);
- arg3.set(c);
- })
- .build(Nashorn.language());
- engine.eval("void3('a', 'b', 'c')");
- Assert.assertEquals("a", arg1.get());
- Assert.assertEquals("b", arg2.get());
- Assert.assertEquals("c", arg3.get());
- }
-
- @Test
- public void testVoid4() throws ScriptException {
- AtomicReference arg1 = new AtomicReference<>();
- AtomicReference arg2 = new AtomicReference<>();
- AtomicReference arg3 = new AtomicReference<>();
- AtomicReference arg4 = new AtomicReference<>();
- ScriptEngine engine = JScriptBox.create()
- .set("void4").toVoid4((a, b, c, d) -> {
- arg1.set(a);
- arg2.set(b);
- arg3.set(c);
- arg4.set(d);
- })
- .build(Nashorn.language());
- engine.eval("void4('a', 'b', 'c', 'd')");
- Assert.assertEquals("a", arg1.get());
- Assert.assertEquals("b", arg2.get());
- Assert.assertEquals("c", arg3.get());
- Assert.assertEquals("d", arg4.get());
- }
-
- //////////////////////////////
- // Exhaustive test of FuncN //
- //////////////////////////////
- @Test
- public void testFunc0() throws ScriptException {
- ScriptEngine engine = JScriptBox.create()
- .set("func0").toFunc0(() -> "wassup")
- .build(Nashorn.language());
- Assert.assertEquals("wassup", engine.eval("func0()"));
- }
-
- @Test
- public void testFunc1() throws ScriptException {
- ScriptEngine engine = JScriptBox.create()
- .set("func1").toFunc1(a -> a)
- .build(Nashorn.language());
- Assert.assertEquals("identity", engine.eval("func1('identity')"));
- Assert.assertEquals(4, engine.eval("func1(4)"));
- Assert.assertEquals(4.5, engine.eval("func1(4.5)"));
- }
-
- @Test
- public void testFunc2() throws ScriptException {
- ScriptEngine engine = JScriptBox.create()
- .set("func2").toFunc2((String a, String b) -> a + b)
- .build(Nashorn.language());
- Assert.assertEquals("ab", engine.eval("func2('a', 'b')"));
- }
-
- @Test
- public void testFunc3() throws ScriptException {
- ScriptEngine engine = JScriptBox.create()
- .set("func3").toFunc3((String a, String b, String c) -> a + b + c)
- .build(Nashorn.language());
- Assert.assertEquals("abc", engine.eval("func3('a', 'b', 'c')"));
- }
-
- @Test
- public void testFunc4() throws ScriptException {
- ScriptEngine engine = JScriptBox.create()
- .set("func4").toFunc4((String a, String b, String c, String d) -> a + b + c + d)
- .build(Nashorn.language());
- Assert.assertEquals("abcd", engine.eval("func4('a', 'b', 'c', 'd')"));
- }
-}