Package org.graalvm.nativeimage.hosted
Interface Feature.QueryReachabilityAccess
- All Superinterfaces:
Feature.FeatureAccess
- All Known Subinterfaces:
Feature.AfterAnalysisAccess
,Feature.DuringAnalysisAccess
- Enclosing interface:
Feature
Access reachability methods available for
Feature.afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)
and
Feature.duringAnalysis(org.graalvm.nativeimage.hosted.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 org.graalvm.nativeimage.hosted.Feature.FeatureAccess
findClassByName, getApplicationClassLoader, getApplicationClassPath, getApplicationModulePath
-
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
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
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
-