Interface Feature.QueryReachabilityAccess

All Superinterfaces:
Feature.FeatureAccess
All Known Subinterfaces:
Feature.AfterAnalysisAccess, Feature.DuringAnalysisAccess
Enclosing interface:
Feature

public static interface Feature.QueryReachabilityAccess extends Feature.FeatureAccess
Since:
19.2
  • Method Details

    • isReachable

      boolean isReachable(Class<?> clazz)
      Returns true if the static analysis determined that the provided class is reachable at run time.
      Since:
      19.2
    • isReachable

      boolean isReachable(Field field)
      Returns true if the static analysis determined that the provided field is reachable at run time.
      Since:
      19.2
    • isReachable

      boolean isReachable(Executable method)
      Returns true if the static analysis determined that the provided method is reachable at run time.
      Since:
      19.2
    • reachableSubtypes

      Set<Class<?>> reachableSubtypes(Class<?> baseClass)
      Returns all subtypes of the given {param baseClass} that the static analysis determined to be reachable at run time (including the {param baseClass} itself).
      Since:
      19.3
    • reachableMethodOverrides

      Set<Executable> reachableMethodOverrides(Executable baseMethod)
      Returns all method overrides of the given {param baseMethod} that the static analysis determined to be reachable at run time (including the {param baseMethod} itself).
      Since:
      19.3