| Interface | Description |
|---|---|
| PainlessScript |
Abstract superclass on top of which all Painless scripts are built.
|
| Class | Description |
|---|---|
| AnalyzerCaster |
Used during the analysis phase to collect legal type casts and promotions
for type-checking and later to write necessary casts in the bytecode.
|
| CompilerSettings |
Settings to use when compiling a script.
|
| Constant |
A constant initializer to be added to the class file.
|
| Def |
Support for dynamic type (def).
|
| DefBootstrap |
Painless invokedynamic bootstrap for the call site.
|
| Definition |
The entire API for Painless.
|
| Definition.Cast | |
| Definition.Field | |
| Definition.Method | |
| Definition.MethodKey |
Key for looking up a method.
|
| Definition.RuntimeClass | |
| Definition.Struct | |
| Definition.Type | |
| DefMath |
Dynamic operators for painless.
|
| FeatureTest |
Currently just a dummy class for testing a few features not yet exposed by whitelist!
|
| FeatureTestAugmentation | |
| FunctionRef |
Reference to a function or lambda.
|
| GenericElasticsearchScript |
Generic script interface that Painless implements for all Elasticsearch scripts.
|
| Globals |
Program-wide globals (initializers, synthetic methods, etc)
|
| LambdaBootstrap |
LambdaBootstrap is used to generate all the code necessary to execute
lambda functions and method references within Painless.
|
| Locals |
Tracks user defined methods and variables across compilation phases.
|
| Locals.Parameter | |
| Locals.Variable | |
| Location |
Represents a location in script code (name of script + character offset)
|
| MethodWriter |
Extension of
GeneratorAdapter with some utility methods. |
| PainlessPlugin |
Registers Painless as a plugin.
|
| PainlessScriptEngine |
Implementation of a ScriptEngine for the Painless language.
|
| ScriptClassInfo |
Information about the interface being implemented by the painless script.
|
| ScriptClassInfo.MethodArgument |
Painless
Definition.Types and name of the argument to the execute method. |
| SimpleChecksAdapter |
A CheckClassAdapter that does not use setAccessible to try to access private fields of Label!
|
| Utility |
A set of methods for non-native boxing and non-native
exact math operations used at both compile-time and runtime.
|
| WriterConstants |
General pool of constants used during the writing phase of compilation.
|
| Enum | Description |
|---|---|
| Operation |
Provides a way to represent operations independently of ASM, to keep ASM
contained to only the writing phase of compilation.
|
| Error | Description |
|---|---|
| PainlessError |
The PainlessError class is used to throw internal errors caused by Painless scripts that cannot be
caught using a standard
Exception. |
| PainlessExplainError |
Thrown by
Debug.explain(Object) to explain an object. |