Package org.elasticsearch.painless.spi
Class WhitelistInstanceBinding
java.lang.Object
org.elasticsearch.painless.spi.WhitelistInstanceBinding
An instance binding represents a method call that stores state. Each instance binding must provide
exactly one public method name. The canonical type name parameters provided must match those of the
method. The method for an instance binding will target the specified Java instance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe method name for this class binding.final StringInformation about where this constructor was whitelisted from.TheMapof annotations for this instance binding.final StringThe canonical type name for the return type.final ObjectThe Java instance this instance binding targets. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
origin
Information about where this constructor was whitelisted from. -
targetInstance
The Java instance this instance binding targets. -
methodName
The method name for this class binding. -
returnCanonicalTypeName
The canonical type name for the return type. -
canonicalTypeNameParameters
-
painlessAnnotations
TheMapof annotations for this instance binding.
-
-
Constructor Details