Module jakarta.el
Package jakarta.el

Class ELResolver.StandaloneIdentifierMarker

java.lang.Object
jakarta.el.ELResolver.StandaloneIdentifierMarker
Enclosing class:
ELResolver

public static class ELResolver.StandaloneIdentifierMarker extends Object
This class is used as a key for ELContext.getContext(Class). The key references a context object that if present and set to Boolean#TRUE, indicates that the identifier being resolved is a single, stand-alone identifier. This allows ELResolver instances - and in particular jakarta.servlet.jsp.el.ImportELResolver - to optimise the resolution of the identifier and avoid unnecessary and expensive class loader lookups.

The EL implementation is required to set this key with the value Boolean#TRUE when resolving a single, stand-alone identifier.

Since:
Jakarta Expression Language 6.1