Package org.graalvm.nativeimage.hosted
Interface Feature.FeatureAccess
- All Known Subinterfaces:
Feature.AfterAnalysisAccess
,Feature.AfterCompilationAccess
,Feature.AfterHeapLayoutAccess
,Feature.AfterImageWriteAccess
,Feature.AfterRegistrationAccess
,Feature.BeforeAnalysisAccess
,Feature.BeforeCompilationAccess
,Feature.BeforeHeapLayoutAccess
,Feature.BeforeImageWriteAccess
,Feature.BeforeUniverseBuildingAccess
,Feature.CompilationAccess
,Feature.DuringAnalysisAccess
,Feature.DuringSetupAccess
,Feature.IsInConfigurationAccess
,Feature.OnAnalysisExitAccess
,Feature.QueryReachabilityAccess
- Enclosing interface:
Feature
public static interface Feature.FeatureAccess
Access methods that are available for all feature methods.
- Since:
- 19.0
-
Method Summary
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
-
findClassByName
Returns a class if it is present on the classpath.- Since:
- 19.0
-
getApplicationClassPath
Returns the class path of the native image that is currently built. The returned list does not include the native image generator itself, and does not include the JDK.- Since:
- 20.2
-
getApplicationModulePath
Returns the module path of the native image that is currently built. The returned list does not include the native image generator itself, and does not include the JDK.- Since:
- 20.2
-
getApplicationClassLoader
ClassLoader getApplicationClassLoader()Returns theClassLoader
that can find all classes of the class path and module path.- Since:
- 20.2
-