Class ReflectionValueResolver

java.lang.Object
io.quarkus.qute.ReflectionValueResolver
All Implemented Interfaces:
Resolver, ValueResolver, WithPriority

public class ReflectionValueResolver extends Object implements ValueResolver
This value resolver can be used to access public members of classes via reflection.
  • Field Details

  • Constructor Details

    • ReflectionValueResolver

      public ReflectionValueResolver()
  • Method Details

    • 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()