Class CelResolvedOverload


  • @Immutable
    @Internal
    public abstract class CelResolvedOverload
    extends java.lang.Object
    Representation of a function overload which has been resolved to a specific set of argument types and a function definition.
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract CelFunctionOverload getDefinition()
      The function definition.
      abstract java.lang.String getFunctionName()
      The base function name.
      abstract java.lang.String getOverloadId()
      The overload id of the function.
      abstract com.google.common.collect.ImmutableList<java.lang.Class<?>> getParameterTypes()
      The types of the function parameters.
      java.lang.Object invoke​(java.lang.Object arg)  
      java.lang.Object invoke​(java.lang.Object[] args)  
      java.lang.Object invoke​(java.lang.Object arg1, java.lang.Object arg2)  
      abstract boolean isStrict()  
      static CelResolvedOverload of​(java.lang.String functionName, java.lang.String overloadId, CelFunctionOverload definition, boolean isStrict, java.lang.Class<?>... parameterTypes)
      Creates a new resolved overload from the given function name, overload id, parameter types, and definition.
      static CelResolvedOverload of​(java.lang.String functionName, java.lang.String overloadId, CelFunctionOverload definition, boolean isStrict, java.util.List<java.lang.Class<?>> parameterTypes)
      Creates a new resolved overload from the given function name, overload id, parameter types, and definition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CelResolvedOverload

        public CelResolvedOverload()
    • Method Detail

      • getFunctionName

        public abstract java.lang.String getFunctionName()
        The base function name.
      • getOverloadId

        public abstract java.lang.String getOverloadId()
        The overload id of the function.
      • getParameterTypes

        public abstract com.google.common.collect.ImmutableList<java.lang.Class<?>> getParameterTypes()
        The types of the function parameters.
      • isStrict

        public abstract boolean isStrict()
      • of

        public static CelResolvedOverload of​(java.lang.String functionName,
                                             java.lang.String overloadId,
                                             CelFunctionOverload definition,
                                             boolean isStrict,
                                             java.lang.Class<?>... parameterTypes)
        Creates a new resolved overload from the given function name, overload id, parameter types, and definition.
      • of

        public static CelResolvedOverload of​(java.lang.String functionName,
                                             java.lang.String overloadId,
                                             CelFunctionOverload definition,
                                             boolean isStrict,
                                             java.util.List<java.lang.Class<?>> parameterTypes)
        Creates a new resolved overload from the given function name, overload id, parameter types, and definition.