# Interface JexlUberspect.ClassConstantResolver

All Superinterfaces:
  `JexlUberspect.ClassNameResolver`

Enclosing interface:
  `JexlUberspect`

public static interface JexlUberspect.ClassConstantResolver extends JexlUberspect.ClassNameResolver
A marker interface that solves a class constant by name.

The base implementation uses imports to solve enums and public static final fields.

Since:
  3.6.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `resolveConstant(String name)`
  Resolves a constant by its name.

  ### Methods inherited from interface JexlUberspect.ClassNameResolver

  `resolveClassName`

- ## Method Details

  - ### resolveConstant

    Object resolveConstant(String name)
    Resolves a constant by its name.
    Parameters:
      `name` - the constant name, a qualified name
    Returns:
      the constant value or TRY_FAILED if not found