public static interface Feature.QueryReachabilityAccess extends Feature.FeatureAccess
Feature.afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess) and
Feature.duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess).| Modifier and Type | Method and Description |
|---|---|
boolean |
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.
|
findClassByNameboolean isReachable(Class<?> clazz)
boolean isReachable(Field field)
boolean isReachable(Executable method)