Interface Feature.QueryReachabilityAccess
- All Superinterfaces:
Feature.FeatureAccess
- All Known Subinterfaces:
Feature.AfterAnalysisAccess, Feature.DuringAnalysisAccess
- Enclosing interface:
Feature
Access reachability methods available for
Feature.afterAnalysis(Feature.AfterAnalysisAccess)
and
Feature.duringAnalysis(Feature.DuringAnalysisAccess)
.- Since:
- 19.2
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReachable
(Class<?> clazz) Returns true if the static analysis determined that the provided class is reachable at run time.boolean
isReachable
(Executable method) Returns true if the static analysis determined that the provided method is reachable at run time.boolean
isReachable
(Field field) Returns true if the static analysis determined that the provided field is reachable at run time.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).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).Methods inherited from interface Feature.FeatureAccess
findClassByName, getApplicationClassLoader, getApplicationClassPath, getApplicationModulePath
Modifier and TypeMethodDescriptionClass
<?> findClassByName
(String className) Returns a class if it is present on the classpath.Returns theClassLoader
that can find all classes of the class path and module path.Returns the class path of the native image that is currently built.Returns the module path of the native image that is currently built.
-
Method Details
-
isReachable
Returns true if the static analysis determined that the provided class is reachable at run time.- Since:
- 19.2
-
isReachable
Returns true if the static analysis determined that the provided field is reachable at run time.- Since:
- 19.2
-
isReachable
Returns true if the static analysis determined that the provided method is reachable at run time.- Since:
- 19.2
-
reachableSubtypes
-
reachableMethodOverrides
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
-