Class InjectConstantAnnotation

java.lang.Object
org.opensearch.painless.spi.annotation.InjectConstantAnnotation

public class InjectConstantAnnotation
extends java.lang.Object
Inject compiler setting constants. Format: inject_constant["1=foo_compiler_setting", 2="bar_compiler_setting"] injects "foo_compiler_setting and "bar_compiler_setting" as the first two arguments (other than receiver reference for instance methods) to the annotated method.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.util.List<java.lang.String> injects  
    static java.lang.String NAME  
  • Constructor Summary

    Constructors 
    Constructor Description
    InjectConstantAnnotation​(java.util.List<java.lang.String> injects)  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait