JexlArithmetic.Uberspect (Apache Commons JEXL 3.7.0 API)
Description: declaration: package: org.apache.commons.jexl3, class: JexlArithmetic, interface: Uberspect

Package org.apache.commons.jexl3

# Interface JexlArithmetic.Uberspect

All Known Subinterfaces:
  `JexlOperator.Uberspect`

Enclosing class:
  `JexlArithmetic`

public static interface JexlArithmetic.Uberspect
The interface that uberspects JexlArithmetic classes.

This allows overloaded operator methods discovery.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `JexlMethod`
  `getOperator(JexlOperator operator, Object... args)`
  Gets the most specific method for an operator.
  `boolean`
  `overloads(JexlOperator operator)`
  Checks whether this uberspect has overloads for a given operator.

- ## Method Details

  - ### getOperator

    JexlMethod getOperator(JexlOperator operator, Object... args)
    Gets the most specific method for an operator.
    Parameters:
      `operator` - the operator
      `args` - the arguments
    Returns:
      the most specific method or null if no specific override could be found

  - ### overloads

    boolean overloads(JexlOperator operator)
    Checks whether this uberspect has overloads for a given operator.
    Parameters:
      `operator` - the operator to check
    Returns:
      true if an overload exists, false otherwise