Class ReflectionValueResolver

    • Constructor Detail

      • ReflectionValueResolver

        public ReflectionValueResolver()
    • Method Detail

      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface WithPriority
        Returns:
        the priority value
      • appliesTo

        public boolean appliesTo​(EvalContext context)
        Specified by:
        appliesTo in interface ValueResolver
        Returns:
        true if this resolver applies to the given context
      • resolve

        public CompletionStage<Object> resolve​(EvalContext context)
        Description copied from interface: Resolver
        This method should return an instance of Results#NotFound if it's not possible to resolve the context. Any other value is considered a valid result, including null.
        Specified by:
        resolve in interface Resolver
        Returns:
        the result
      • clearCache

        public void clearCache()