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
-
getApplicationClassPath
-
getApplicationModulePath
-
getApplicationClassLoader
ClassLoader getApplicationClassLoader()Returns theClassLoader
that can find all classes of the class path and module path.- Since:
- 20.2
-