Package org.opensearch.painless.spi
Class WhitelistField
- java.lang.Object
-
- org.opensearch.painless.spi.WhitelistField
-
public class WhitelistField extends java.lang.ObjectField represents the equivalent of a Java field available as an allowlisted class field within Painless. Fields for Painless classes may be accessed exactly as fields for Java classes are using the '.' operator on an existing class variable/field.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringcanonicalTypeNameParameterThe canonical type name for the field which can be used to look up the Java field through reflection.java.lang.StringfieldNameThe field name used to look up the field reflection object.java.lang.StringoriginInformation about where this method was allowlisted from.java.util.Map<java.lang.Class<?>,java.lang.Object>painlessAnnotationsTheMapof annotations for this field.
-
Constructor Summary
Constructors Constructor Description WhitelistField(java.lang.String origin, java.lang.String fieldName, java.lang.String canonicalTypeNameParameter, java.util.List<java.lang.Object> painlessAnnotations)Standard constructor.
-
-
-
Field Detail
-
origin
public final java.lang.String origin
Information about where this method was allowlisted from.
-
fieldName
public final java.lang.String fieldName
The field name used to look up the field reflection object.
-
canonicalTypeNameParameter
public final java.lang.String canonicalTypeNameParameter
The canonical type name for the field which can be used to look up the Java field through reflection.
-
painlessAnnotations
public final java.util.Map<java.lang.Class<?>,java.lang.Object> painlessAnnotations
TheMapof annotations for this field.
-
-